SLES9: Need an assist getting sub/virtual interface going
Hi all, I can configure a virtual interface on SLES9 using ifconfig, but obviously that won't survive a re-boot. Virtual interfaces configured in yast either do not activate at boot time or completely stop network configuration from working. Anyone seen this before or have any suggestions?
On Tue, 2 Aug 2005 02:39 pm, Bruce Ferrell wrote:
Virtual interfaces configured in yast either do not activate at boot time or completely stop network configuration from working.
They work fine for me, fire up yast2 go to "Network Devices", "Network Card" Pick the real interface you want to add a virtual on. Edit it. Choose "Advanced" "Virtual Aliases" Add your extra IP number there. Finish etc. What it will actually do is put 2 new lines into /etc/sysconfig/network/ifcfg-eth-id-<mac_addr> here's mine: BOOTPROTO='static' BROADCAST='172.16.175.255' IPADDR='172.16.170.5' MTU='' NETMASK='255.255.240.0' NETWORK='172.16.160.0' REMOTE_IPADDR='' STARTMODE='onboot' UNIQUE='Kaa7.WLfBjm6AUF5' _nm_name='bus-pci-0000:03:06.0' IPADDR_external='172.16.170.16' NETMASK_external='255.255.240.0' These last 2 lines add the virtual. Beware having 2 numbers on the same network as I have here, you won't know which the packets will come from. michaelj -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166 No matter how much you pay for software, you always get less than you hoped. Unless you pay nothing, then you get more.
participants (2)
-
Bruce Ferrell
-
Michael James