Re: mehrere IP-Adressen auf Dummy-Interface
Hallo Paul,
On Tue, Jun 03, 2008 at 07:20:49PM +0200, Paul Muster wrote:
> # ip add show dummy0
> 4: dummy0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
> link/ether e6:a1:05:e4:42:be brd ff:ff:ff:ff:ff:ff
> inet x.y.z.1/29 brd x.y.z.7 scope global dummy0
> inet x.y.z.2/32 scope global dummy0
> inet x.y.z.3/32 scope global dummy0
> inet x.y.z.4/32 scope global dummy0
> inet x.y.z.5/32 scope global dummy0
> inet x.y.z.6/32 scope global dummy0
> inet6 fe80::abcd:opqr:stuv:ijkl/64 scope link
> valid_lft forever preferred_lft forever
>
> Ich denke, das schaut nun schon ganz gut aus. Ist es aber gesund, dass
> bei x.y.z.1 /29 steht? Sollte ich die Einträge address, network und
> netmask auf ein /32 einstellen?
Mein Fehler, ich hatte das einfach gepasted. Wenn die alle in einem
Subnetz sind natuerlich ueberall /29.
network brauchst du auch garnicht. Das ergibt sich aus address und
netmask. Ebenso broadcast.
Cheers,
Michael
Reply to: