Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ethernet card doesn't respond
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
guerilla
n00b
n00b


Joined: 29 Dec 2003
Posts: 7

PostPosted: Mon Dec 19, 2005 6:04 am    Post subject: ethernet card doesn't respond Reply with quote

I got a really weired problem: I have 2 ethernet cards in my machine and vsftp running. When I connect a laptop via crossover cable to one of them, I can ping the laptop from my box, no problem. But the other way around does not work: When I ping my box from my laptop, I can see packets being discarded by shorewall in the log. But there is no response to ping or ftp requests when I stop shorewall. ifconfig shows that I do receive traffic, though.
I checked network adresses quite a few times by now. Here's the info for one of the ethernet cards in my box

eth0 Protokoll:Ethernet Hardware Adresse xxx
inet Adresse:9.152.200.1 Bcast:9.152.200.127 Maske:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:1 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:6600 (6.4 Kb) TX bytes:210 (210.0 b)
Interrupt:5 Basisadresse:0x9400

and here for the ethernet card in my laptop:

eth0 Link encap:Ethernet HWaddr xxx
inet adr:9.152.200.15 Bcast:9.152.200.127 Mask:255.255.255.128
inet6 addr: fe80::211:25ff:fe18:b09d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:192 (192.0 b) TX bytes:6786 (6.6 KiB)
Interrupt:11

I had this configuration running a while ago. I the meantime, switched to kernel 2.6 and upgraded the Gentoo profile, but cannot tell when it stopped working.
To me, it looks like the box receives traffic but doesn't know how to handle it - could this be some kind of configuration problem?
What can this be???
Back to top
View user's profile Send private message
grunthus
Apprentice
Apprentice


Joined: 21 Apr 2005
Posts: 194
Location: Shetland UK

PostPosted: Mon Dec 19, 2005 12:51 pm    Post subject: Reply with quote

This could well be your answer with shorewall:

Quote:

# FOR ADMINS THAT REPEATEDLY SHOOT THEMSELVES IN THE FOOT
#
# Normally, when a "shorewall stop" command is issued or an error occurs during
# the execution of another shorewall command, Shorewall puts the firewall into
# a state where only traffic to/from the hosts listed in
# /etc/shorewall/routestopped is accepted.


The above paragraph is a good way down the file /etc/shorewall/shorewall.conf, about 29 page-downs in my aterm actually.
Sort out an entry in your /etc/shorewall/routestopped to correspond to the box that can't get in when shorewall is down
Code:
eth0            192.168.110.0/24

Maybe something like the above

HTH
_________________
Read 'Free Software - Free Society' by RM Stallman
Back to top
View user's profile Send private message
guerilla
n00b
n00b


Joined: 29 Dec 2003
Posts: 7

PostPosted: Mon Dec 19, 2005 7:32 pm    Post subject: Solved!!! Reply with quote

Brilliant, that solved it right away- thank you so much!
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