Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with Local Network
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
shell_ramix
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Mexico

PostPosted: Mon Dec 20, 2004 7:43 pm    Post subject: Problems with Local Network Reply with quote

Hi, I'm experimenting some problems with Local Network on my Gentoo Gateway Machine.... It's a strange behavior that is turning me crazy..!!!

I used to have my gentoo system installed along 2 years ago, 24 hrs x 365 without no mayor problems. Recently, I made up an update from the old 1.4.x profile system to a brand new 2004.3 profile. Everything was well: NATing and Routing along the Internet interface (eth0 to a ADSL line) to my local Network subsystem and services (eth1 to LAN) like samba, cups, etc, etc....(both NICs are RealTeck 8139 with 8139too driver, both tested with 2.6.10-love sources and even with 2.6.9-gentoo dev sources) When I rebooted my system with the updated -/etc- files and updated packages from the new profile system, my eth1 (Local Network Subsystem) appears apparently correct reported by ifconfig, but no communication with my inner computers was well from then. (pinging from outside to the gateway and backwards gives me a "Destination Host Unreachable" response) My routing table appears valid, my iptables script is the same and even without iptables activated, the comunication still unsuccessful ! The strange thing here is that this could not be a Kernel Level error, because the NIC plugged with the ADSL is working fine.! In fact, I have swaped the NICs each other in order to find hardware issues, but the two NIC's play well with ADSL but Not with Local Network.

If I Made a ping request to the IP address binded at local NIC from the gateway machine (eth1 - local network), this bring me successful response, but not if Im trying to communicate with my other computers to this one, even hardlinking the MAC address to the inet address via ARP from the local network computers !

I made tests with vanilla kernels as well, and the problem persist..!!! I am very desesperated now, cause I have no luck to find where the problem is !!!

PLEASE HELP !!!!

P.D. I am using "stable branch" packages at this computer, none of the "~x86 Keywords" are used here.... This is a very strange behaivour !!!!

Hope to find a quick solution !!!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20586

PostPosted: Tue Dec 21, 2004 5:19 pm    Post subject: Reply with quote

Is the LAN NIC receiving an ip address? If not, is it configured dhcp, or static?

Posting the output of ifconfig and /etc/conf.d/net may be helpful.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
shell_ramix
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Mexico

PostPosted: Tue Dec 21, 2004 9:41 pm    Post subject: Reply with quote

No no, It is static... Remember this is a GATEWAY machine bringing NAT to my Local Network. The address given for this interface is 192.168.1.1 broadcasting to it's subnet 192.168.1.0.

This is the /etc/conf.d/net file:
Code:

iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0"
dhcpcd_eth0="-R"


Now, /etc/init.d/net.eth1 is a symlink from /etc/init.d/net.eth0, exactly how should be...

a route -n command brings me this:
Code:

Kernel IP routing table
Destination       Gateway Genmask            Flags  Metric  Ref  Use   iface
$ADSL_inetadd  0.0.0.0   255.255.255.255  UH     0         0     0      ppp0
192.168.1.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    $ADSL_inetadd 0.0.0.0                 UG   0          0     0      ppp0


This is the funny thing here:

An arp command brings me this:
Code:

Address           HWtype        HWaddress         Flags       Mask        iface
192.168.1.10                       (incomplete)                                    eth1


(what does it means the "HWaddress" field in the ARP kernel table marks as Incomplete to one of my client systems..? Maybe this could bring me some clue about the problem !!! You know better than me Gurus.!! HELP PLEASE.!)

And just for additional Info:

ifconfig eth1 brings me this:
Code:

eth1  inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
        UP BRADCAST RUNNING MULTICAST MTU:1500 Metric:1
        (Here comes the RX, TX stuff, that all are in "0" except the
          TX packets:477)
         Interrupt:10 Base address 0x6e00


Im still crazy about this issue..!!!

Thanks for your help pjp !
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20586

PostPosted: Wed Dec 22, 2004 5:36 pm    Post subject: Reply with quote

EDIT: See this thread, and try using modules for your NIC if its compiled into the kernel now.

I have a vague recollection of a problem with two NICs using the same driver. Just a couple of troubleshooting suggestions since I don't recall the problem or solution.

First, configure eth0 to work as the LAN interface, and eth1 to be the public interface. Does the problem remain the same, or does it change at all?

Next, physically remove one of the NICs. Configure the remaining NIC to operate on the LAN. Does it work? Swap NICs, and verify results (both work/don't work, one does, etc.)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Wed Dec 22, 2004 8:16 pm    Post subject: Reply with quote

I use several 8139too NICs as well and have the driver built into the kernel and it works without problems (modules work too) so I guess you recall something about a different driver.

Everything looks just fine and all evidence suggests some hardware issue. Have you tried using a differend cable?
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