Quote:
Originally Posted by michaelk
169.254.xxx.xxx IPs are assigned when the DHCP client fails to acquire an address from the server. What did you use to configure a static IP address?
You need an ethernet crossover ethernet cable to directly connect to PCs without using a hub/switch. You should be able to see the network adapters link LEDs illuminated on both computers. Also make sure your IP address range and netmask match on both computers like
192.168.0.xxx netmask 255.255.255.0
|
This is the output from my Comp 1 running on fc6 which is also supposed to be sharing internet connection with my comp2 (which is not happening as yet) running on Suse 10.3 and they are connected through crossover cables.
[root@xx ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
[root@xx ~]# service network restart
Shutting down interface gadlocal: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface gadlocal: RTNETLINK answers: File exists
Error adding address 192.168.0.1 for eth0.
[ OK ]
[root@xx ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:18:fc:15:03 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.1/24 brd 192.168.0.255 scope global eth0
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
[root@xx ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.192.168.0.1 0.0.0.0 UG 0 0 0 eth0
1.
At this stage I can ping the other computer..192.168.1.2
After a few minutes it automatically starts the network again and this is the next output..????
[root@xx ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
[root@xx ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:18:fc:15:03 brd ff:ff:ff:ff:ff:ff
inet 169.254.10.195/16 brd 169.254.255.255 scope global eth0
inet6 fe80::2e0:18ff:fefc:1503/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
The other part of the problem is that whenever I am trying to connect to the LAN my internet connection stops working....???
I think I have made some major goof up...!!
Alok