Hi Paul, my server has 3 ethernet cards: 1 for heart beat (eth0) and the other 2 cards (eth1 and eth2) are bonded as bond0. In other words, eth1 and eth2 are slave to bond0. eth1 and eth2 does not have ip address. Only bond0 has ip address. I put the following into ifcfg-bond0 and /etc/sysconfig/network: GATEWAY=10.10.10.5 But it seems that the routing is still not right ? Thanks. On 7/19/05, Paul Howarth <paul@xxxxxxxxxxxx> wrote: > Hanny Tidore wrote: > > For the /etc/sysconfig/network-scripts/ifcfg-interfacename, do I > > specify at ifcfg-bond0 only or do I also need to specify at ifcfg-eth1 > > and ifcfg-eth2 ? > > You specify the netmask for the network interfaces you are using, which > would be eth0 and bond0. The two may be different. > > > For /etc/sysconfig/network, do I have to specify the netmask of the > > default gateway ? > > The default gateway is the IP address of the router that forwards > packets to places you don't have explicit routes for. It's a single > address, not a network, and so it does not have a netmask. When you > specify a gateway, a default route will be set up with destination > 0.0.0.0, netmask 0.0.0.0 and your specified gateway address. You don't > need to specify anything else. > > P.S. Please do not top-post on this mailing list. > > Paul. > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list >