Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant' network gentoo server and redhat laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Thu Jun 26, 2003 8:53 pm    Post subject: Cant' network gentoo server and redhat laptop Reply with quote

I have a server running gentoo, and a laptop with redhat on it. I am not able to get the two to even ping each other. I have no firewalls running when I try, and they are connected with crossovers.

server:
Code:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.26.131.157 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 172.26.131.157 0.0.0.0 UG 0 0 0 ppp0


eth0 Link encap:Ethernet HWaddr 00:26:54:0B:1F:C4
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:381 errors:0 dropped:0 overruns:0 carrier:381
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:38990 (38.0 Kb)
Interrupt:5 Base address:0xb000

eth1 Link encap:Ethernet HWaddr 00:0C:6E:1A:E0:BB
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:254 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:23538 (22.9 Kb) TX bytes:630 (630.0 b)
Interrupt:11 Base address:0x5000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1694 errors:0 dropped:0 overruns:0 frame:0
TX packets:1694 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:133847 (130.7 Kb) TX bytes:133847 (130.7 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:213.78.109.9 P-t-P:172.26.131.157 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:7711 errors:0 dropped:0 overruns:0 frame:0
TX packets:8326 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:5456763 (5.2 Mb) TX bytes:813240 (794.1 Kb)


laptop:
Code:
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
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0



eth0 Link encap:Ethernet HWaddr 00:00:86:5C:56:60
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:100
RX bytes:60 (60.0 b) TX bytes:240 (240.0 b)
Interrupt:9 Base address:0x300

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:697 errors:0 dropped:0 overruns:0 frame:0
TX packets:697 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:47086 (45.9 Kb) TX bytes:47086 (45.9 Kb)

_________________
[LRU]
Back to top
View user's profile Send private message
b1nd3n14l
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Thu Jun 26, 2003 9:37 pm    Post subject: Reply with quote

Need more info....

which port (eth#?) do you have the crossover cable connected to on the server...?

are you pinging by ip or name?
_________________
Later...Gator...

First ever Gentoo Install: June 5th , 2003
Registered User #12078 at http://counter.li.org
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Jun 26, 2003 9:38 pm    Post subject: Reply with quote

Quote:
server:
Code:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.26.131.157 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 172.26.131.157 0.0.0.0 UG 0 0 0 ppp0
Why is the the network 192.168.0.0/24 on two different interfaces on the server? And I bet your laptop is plugged into port eth1 of your server. :)
Back to top
View user's profile Send private message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Fri Jun 27, 2003 5:58 am    Post subject: Reply with quote

I have the cable plugged into eth0. It isn't eth1. I just setup eth1 so I knew the drivers were ok when I installed the machine. It is definately eth0.
_________________
[LRU]
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Fri Jun 27, 2003 6:25 am    Post subject: Reply with quote

If you take down eth1, do pings work then?
Back to top
View user's profile Send private message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Fri Jun 27, 2003 5:13 pm    Post subject: Reply with quote

I took eth1 down, and still everything is the same. It's really bizarre and quite annoying :(
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:26:54:0B:1F:C4
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:297 errors:0 dropped:0 overruns:0 carrier:297
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:43731 (42.7 Kb)
          Interrupt:5 Base address:0xb000
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3556 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3556 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:277816 (271.3 Kb)  TX bytes:277816 (271.3 Kb)
 
ppp0      Link encap:Point-to-Point Protocol
          inet addr:213.78.123.238  P-t-P:172.26.131.160  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:9557 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7649 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:11046400 (10.5 Mb)  TX bytes:495737 (484.1 Kb)

_________________
[LRU]
Back to top
View user's profile Send private message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Fri Jun 27, 2003 5:23 pm    Post subject: Reply with quote

OK, now I'm stumped.
I just pulled out the network cable from this machine and put it in the other port. Restarted eth0 and eth1. Low and behold, it now works!
I'm going to try the other port again now and see if maybe it was just a loose connection, or hopefully my network port is not shafted up the backend.

edit: mmmm....the port that works has an orange and green light, while the other one does not have a green light, but has an orange one. This is weird because the cable has not been touched since it was put in. Perhaps there is a driver problem? I would have though eth0 and eth1 would not load properly if there was a driver problem though?
_________________
[LRU]


Last edited by ventricle on Fri Jun 27, 2003 5:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Fri Jun 27, 2003 5:24 pm    Post subject: Reply with quote

ventricle wrote:
I'm going to try the other port again now and see if maybe it was just a loose connection

I spent an hour on this problem a few days ago. I wasn't amused. :-D
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum