Networking Forums

Networking Forums > Computer Networking > Linux Networking > Adding virtual NIC (ie: alias) to multi-homed server

Reply
Thread Tools Display Modes

Adding virtual NIC (ie: alias) to multi-homed server

 
 
Brian
Guest
Posts: n/a

 
      08-05-2005, 12:48 PM
I have implemented Novell OES (SuSE 9.x) as my mail/router/firewall,
etc....

I need an additional IP address bound to my public network interface so
that I forward iFolder and Groupwise to an internal server. I have
Apache and some other services already running on _this_ server.
Coming from the RedHat 7.1 days, all I had to do to create a virtual
NIC (alias) was to add a file called (for example)
/etc/sysconfig/network-scripts/ifcfg-eth0-range0.

Inside that file contains the definition for an additional IP address
for an already existing NIC.

IPADDR_START=192.168.200.42
IPADDR_END=192.168.200.42
CLONENUM_START=0
ONBOOT="yes"

When I restart the network, RedHat adds an additional/virtual network
card called 'eth0:0' as shown here:


eth0 Link encap:Ethernet HWaddr 000:B7:74:08:0E
inet addr:192.168.200.45 Bcast:192.168.200.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20208139 errors:0 dropped:0 overruns:0 frame:0
TX packets:18858934 errors:0 dropped:0 overruns:0 carrier:2
collisions:205296 txqueuelen:100
Interrupt:14 Base address:0xe000

eth0:0 Link encap:Ethernet HWaddr 000:B7:74:08:0E
inet addr:192.168.200.42 Bcast:192.168.200.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:14 Base address:0xe000


Not only did this create an additional IP address, it also created a
virtual NIC to which the IP is bound. (eth0:0)


SuSE doesn't seem to follow this behavior. When I follow the same
procedure as I did with RedHat, I get neither the IP addres nor the
virtual interface. I tried using YAST2 and I did get the IP address,
but YAST didn't create a virtual interface. I really do need to have
the 'extra' interface, ie: eth0:0 and eth0:1. Just having an
additional IP address isn't sufficient.

How can I accomplish this? Thanks, Brian

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change DC from multi-homed to single homed segmented Terry Windows Networking 7 03-01-2007 06:13 PM
Windows shares on a multi-homed server vtjdailey@gmail.com Windows Networking 1 12-07-2006 09:12 PM
Multi-homed with 2000 server Kidem Windows Networking 3 10-30-2004 06:17 PM
Multi-homed server and VPN NeoAdmin Windows Networking 5 04-28-2004 03:52 PM
Multi-homed Server Samuel Shum Windows Networking 9 12-17-2003 07:11 AM



1 2 3 4 5 6 7 8 9 10 11