I'm trying to get 2 IP adresses on 2 different NIC's with IP aliassing.
These NIC's have as default gateway the IP adress '62.150.201.1'.
The problem is that my routing table contains 3 default gateways & I cannot
ping ifcfg-eth1. I cannot find a document on the internet in which is
explained where you must config your default gatway and where not in the
ifcfg-eth files.
My config files are as follows:
[root@foxserver network-scripts]# cat ifcfg-eth0
DEVICE='eth0'
BOOTPROTO='none'
ONBOOT='yes'
IPADDR='62.150.201.110'
GATEWAY='62.150.201.1'
TYPE='Ethernet'
USERCTL='no'
NETMASK='255.255.255.0'
NETWORK='62.150.201.0'
BROADCAST='62.150.201.255'
[root@foxserver network-scripts]# cat ifcfg-eth0:0
DEVICE='eth0:0'
BOOTPROTO='none'
ONBOOT='yes'
IPADDR='62.150.201.140'
GATEWAY='62.150.201.1'
TYPE='Ethernet'
USERCTL='no'
NETMASK='255.255.255.0'
NETWORK='62.150.201.0'
BROADCAST='62.150.201.255'
[root@foxserver network-scripts]# cat ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
IPADDR=62.150.201.111
NETMASK=255.255.255.0
GATEWAY=62.150.201.1
[root@foxserver network-scripts]# cat ifcfg-eth1:0
DEVICE='eth1:0'
ONBOOT=yes
BOOTPROTO=none
IPADDR=62.150.201.112
NETMASK=255.255.255.0
BROADCAST= 62.150.201.255
GATEWAY=62.150.201.1
TYPE='Ethernet'
De routing tabel:
[root@foxserver network-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
62.150.201.0 * 255.255.255.0 U 0 0 0 eth1
62.150.201.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 62.150.201.1 0.0.0.0 UG 0 0 0 eth0
default 62.150.201.1 0.0.0.0 UG 1 0 0 eth1
default 62.150.201.1 0.0.0.0 UG 1 0 0 eth0
What is going wrong here ? 3 default gateways isn't OK I think. And why
can't I ping ifcfg-eth1 62.150.201.111 ?
Thanks,
Raymond
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
- Re: IP aliassing and routing Raymond van den Houwen
- Re: IP aliassing and routing Mike Burger
- Re: IP aliassing and routing Andy Elacion, Jr.
- Re: IP aliassing and routing Mike Burger
- Re: IP aliassing and routing Raymond van den Houwen
- Re: IP aliassing and routing Raymond van den Houwen
- Re: IP aliassing and routing Jack Bowling