[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: enable duplex



When I enable both eth0 and eth1 the network only works after boot when I do /etc/init.d/networking restart

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 81.7.167.226
        netmask 255.255.255.240
        gateway 81.7.167.225

auto eth1
iface eth1 inet static
       address 81.7.167.227
       netmask 255.255.255.240
       gateway 81.7.167.225

Also when I set up bonding I can not use the network. This is what I did:
modprobe bonding miimon=250 mode=1
ifconfig bond0 81.7.167.228 netmask 255.255.255.240
ifenslave bond0 eth0 eth1

Any clues?
Jacob



Reply to: