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

Re: ping with crossover cable



> [root localhost init.d]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
> 
> 
> #D-Link System Inc RTL8139 Ethernet
> DEVICE=eth1
> ONBOOT=yes
> BOOTPROTO=dhcp
> #BOOTPROTO=none|bootp|dhcp
> #which do I want?
> HWADDR=00:0D:88:37:FA:22
> NETMASK=255.255.255.0
> BROADCAST=192.168.10.255
> 

Hey

If you're connecting two boxes with a single cable their is no dhcp,
so you're networkcard doesn't recieve any ip adress info. You'll have
to change ifcfg-eth1 to something like this:

DEVICE=eth1
BOOTPROTO=none
BROADCAST=192.168.0.255
IPADDR=192.168.0.109
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet

manually assing two ip-adresses (one for each box) and use the same
netmask and restart your network

ciao
bart


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