/var/log/messages
Dec 2 11:45:22 foxserver kernel: device eth0 left promiscuous mode Dec 2 11:45:22 foxserver network: Shutting down interface eth0: succeeded Dec 2 11:45:22 foxserver ifdown: ./ifdown: 62.150.201.255: command not found Dec 2 11:45:22 foxserver kernel: device eth1 left promiscuous mode Dec 2 11:45:22 foxserver ifdown: /etc/sysconfig/network-scripts/ifdown-post: 62.150.201.255: command not found Dec 2 11:45:22 foxserver network: Shutting down interface eth1: succeeded Dec 2 11:45:22 foxserver network: Shutting down loopback interface: succeeded Dec 2 11:45:22 foxserver sysctl: net.ipv4.ip_forward = 0 Dec 2 11:45:22 foxserver sysctl: net.ipv4.conf.default.rp_filter = 1 Dec 2 11:45:22 foxserver sysctl: kernel.sysrq = 0 Dec 2 11:45:22 foxserver sysctl: kernel.core_uses_pid = 1 Dec 2 11:45:22 foxserver network: Setting network parameters: succeeded Dec 2 11:45:23 foxserver network: Bringing up loopback interface: succeeded Dec 2 11:45:23 foxserver kernel: device eth0 entered promiscuous mode Dec 2 11:45:25 foxserver ifup: route: netmask doesn't match route address
Dec 2 11:45:25 foxserver ifup: Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
Dec 2 11:45:25 foxserver ifup: route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
Dec 2 11:45:25 foxserver ifup:
Dec 2 11:45:25 foxserver ifup: route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
Dec 2 11:45:25 foxserver ifup: route {-V|--version} Display version/author and exit.
Dec 2 11:45:25 foxserver ifup:
Dec 2 11:45:25 foxserver ifup: -v, --verbose be verbose
Dec 2 11:45:25 foxserver ifup: -n, --numeric don't resolve names
Dec 2 11:45:25 foxserver ifup: -e, --extend display other/more information
Dec 2 11:45:25 foxserver ifup: -F, --fib display Forwarding Information Base (default)
Dec 2 11:45:25 foxserver ifup: -C, --cache display routing cache instead of FIB
Dec 2 11:45:25 foxserver ifup:
Dec 2 11:45:25 foxserver ifup: <AF>=Use '-A <af>' or '--<af>'; default: inet
Dec 2 11:45:25 foxserver ifup: List of possible address families (which support routing):
Dec 2 11:45:25 foxserver ifup: inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
Dec 2 11:45:25 foxserver ifup: netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
Dec 2 11:45:25 foxserver ifup: x25 (CCITT X.25)
Dec 2 11:45:25 foxserver ifup: route: netmask doesn't match route address
Dec 2 11:45:25 foxserver ifup: Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
Dec 2 11:45:25 foxserver ifup: route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
Dec 2 11:45:25 foxserver ifup:
Dec 2 11:45:25 foxserver ifup: route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
Dec 2 11:45:25 foxserver ifup: route {-V|--version} Display version/author and exit.
Dec 2 11:45:25 foxserver ifup:
Dec 2 11:45:25 foxserver ifup: -v, --verbose be verbose
Dec 2 11:45:25 foxserver ifup: -n, --numeric don't resolve names
Dec 2 11:45:25 foxserver ifup: -e, --extend display other/more information
Dec 2 11:45:25 foxserver ifup: -F, --fib display Forwarding Information Base (default)
Dec 2 11:45:25 foxserver ifup: -C, --cache display routing cache instead of FIB
Dec 2 11:45:25 foxserver ifup:
Dec 2 11:45:25 foxserver ifup: <AF>=Use '-A <af>' or '--<af>'; default: inet
Dec 2 11:45:25 foxserver ifup: List of possible address families (which support routing):
Dec 2 11:45:25 foxserver ifup: inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
Dec 2 11:45:25 foxserver ifup: netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
Dec 2 11:45:25 foxserver ifup: x25 (CCITT X.25)
Dec 2 11:45:25 foxserver network: Bringing up interface eth0: succeeded Dec 2 11:45:25 foxserver ifup: ./ifup: 62.150.201.255: command not found Dec 2 11:45:25 foxserver kernel: device eth1 entered promiscuous mode Dec 2 11:45:25 foxserver kernel: e1000: eth1 NIC Link is Up 10 Mbps Full Duplex Dec 2 11:45:27 foxserver ifup: RTNETLINK answers: File exists Dec 2 11:45:27 foxserver ifup: /etc/sysconfig/network-scripts/ifup-post: 62.150.201.255: command not found Dec 2 11:45:27 foxserver ifup: /etc/sysconfig/network-scripts/ifup-aliases: 62.150.201.255: command not found Dec 2 11:45:27 foxserver ifup: /etc/sysconfig/network-scripts/ifup-aliases: 62.150.201.255: command not found Dec 2 11:45:27 foxserver network: Bringing up interface eth1: succeeded
From: "Raymond van den Houwen" <[EMAIL PROTECTED]>_________________________________________________________________
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: IP aliassing and routing
Date: Mon, 02 Dec 2002 10:10:14 +0000
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-lis
STOP MORE SPAM with the new MSN 8 and get 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