Mailinglist Archive: opensuse (4237 mails)

< Previous Next >
Re: [SLE] virtual ip, what is the right way?
  • From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
  • Date: Mon, 02 Aug 2004 14:52:57 +0100
  • Message-id: <410E4739.7010500@xxxxxxxxxxxxxxxx>
kbonasia@xxxxxxxxxx wrote:

In suse linux 9.1 I've two network card, the first is eth0 (192.168.0.100) and the second is the eth1 (192.168.1.100). I desire to add a new card and mantain the previous two, as eth1:1 and 192.168.2.100 address.
If I write ifconfig eth1:1 192.168.2.100 netmask 255.255.255. gw 192.168.2.100 it add a new nic, but what is the right way? this or add via YaST module (as a virtual ip address from the configuration panel)?
finally I desire to turn on or turn off manually the nic number 3 (eth1:1)


From what I can see, eth1:0 and eth1:1 are aliases to the same card, i.e eth1, so I reckon the third card has to be eth2. I know it's possible to BOND 2 cards to the same IP address range. Whether your scheme would work can only be a suck it and see case, but it's doubtful and looks slightly odd.
Regards
Sid.

--
Sid Boyce .... Hamradio G3VBV and keen Flyer
=====LINUX ONLY USED HERE=====


< Previous Next >
References