Running RedHat 9.0 I added 5 virutal eth interfaces as follows: The problem
is that I can only access ifcfg-eth0 AND ifcfg-eth0:0 outside the local
network. The remaining virtual IP are only available from the local
network.
I checked any problems with the firewalls. I also added route -n output. I
have done this with sucess on other RH boxes and an stumped as to why this
is working. Any help would be greatly appreciated.
ifcfg-eth0, ifcfg-eth0:0, ifcfg-eth0:1, ifcfg-eth0:2, ifcfg-eth0:3,
ifcfg-eth0:4
DEVICE=eth0 **WORKS**
ONBOOT=yes
BOOTPROTO=static
IPADDR=209.113.151.18
NETMASK=255.255.255.128
GATEWAY=209.113.151.1
Contents of eth:0 **WORKS**
DEVICE=eth0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=209.113.151.30
NETMASK=255.255.255.128
GATEWAY=209.113.151.1
Contents of eth0:1 **DOESN'T WORK**
DEVICE=eth0:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=209.113.151.31
NETMASK=255.255.255.128
GATEWAY=209.113.151.1
[root@cp sbin]# ./route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
209.113.151.0 0.0.0.0 255.255.255.128 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 1 0 0 eth0
0.0.0.0 209.113.151.1 0.0.0.0 UG 1 0 0 eth0
Snippet from ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:75:E3:35:8C
inet addr:209.113.151.18 Bcast:209.113.151.127
Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82905120 errors:0 dropped:0 overruns:1 frame:0
TX packets:43780708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:629400957 (600.2 Mb) TX bytes:571159821 (544.7 Mb)
Interrupt:10 Base address:0xa400
eth0:0 Link encap:Ethernet HWaddr 00:04:75:E3:35:8C
inet addr:209.113.151.30 Bcast:209.113.151.127
Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82905120 errors:0 dropped:0 overruns:1 frame:0
TX packets:43780708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:629400957 (600.2 Mb) TX bytes:571159821 (544.7 Mb)
Interrupt:10 Base address:0xa400
eth0:1 Link encap:Ethernet HWaddr 00:04:75:E3:35:8C
inet addr:209.113.151.31 Bcast:209.113.151.127
Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82905120 errors:0 dropped:0 overruns:1 frame:0
TX packets:43780708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:629400957 (600.2 Mb) TX bytes:571159821 (544.7 Mb)
Interrupt:10 Base address:0xa400
--
Andrew P. Kaplan
www.cshore.com
"We will not prematurely or unnecessarily risk the costs of worldwide
nuclear war in which even the fruits of victory would be ashes in our
mouth - but neither will we shrink from that risk at any time it must be
faced."
John F. Kennedy