dumbledore n00b
Joined: 01 Feb 2005 Posts: 4
|
Posted: Sat Jul 30, 2005 2:48 am Post subject: linksys lne100tx (tulip compatible) issues |
|
|
hello, i have two network interfaces on my g2 box, eth0 is an onboard 3Com Corporation 3c905B 100BaseTX [Cyclone], and the other is a Lite-On Communications Inc LNE100TX (rev 20) in a pci slot (linksys model). i'm using the tulip module to initialize it, and all seems to work well. however, after being left running a couple of days, the card randomly stops working, i can't ping it and when i try to ping a computer from it i get "target network unreachable" (or something like that). when i execute /etc/init.d/net.eth1 restart, it will fix itself for a while, then stop working again. here's my conf files / stuff:
lspci
Code: | 0000:00:0f.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
0000:00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24) |
lsmod
Code: | Module Size Used by
tulip 48704 0
3c59x 38184 0 |
Code: | tux / # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" )
#fallback_eth0=( "192.168.0.102 netmask 255.255.255.0" )
#fallback_routes_eth0=( "default gw 192.168.0.1" )
config_eth1=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )
#fallback_eth1=( "192.168.0.103 netmask 255.255.255.0" )
#fallback_routes_eth1=( "default gw 192.168.0.1" )
|
Code: | tux / # iptables-save
# Generated by iptables-save v1.2.11 on Fri Jul 29 17:55:11 2005
*nat
:PREROUTING ACCEPT [158434:12191470]
:POSTROUTING ACCEPT [10416:709165]
:OUTPUT ACCEPT [3514:527088]
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5800 -j DNAT --to-destination 192.168.0.127:5800
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5900 -j DNAT --to-destination 192.168.0.127:5900
-A PREROUTING -i eth0 -p tcp -m tcp --dport 6881 -j DNAT --to-destination 192.168.0.127:6881
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
# Completed on Fri Jul 29 17:55:11 2005
# Generated by iptables-save v1.2.11 on Fri Jul 29 17:55:11 2005
*mangle
:PREROUTING ACCEPT [4385424:2674725637]
:INPUT ACCEPT [531373:161313923]
:FORWARD ACCEPT [3852935:2513348689]
:OUTPUT ACCEPT [476997:234871441]
:POSTROUTING ACCEPT [4333630:2748971552]
COMMIT
# Completed on Fri Jul 29 17:55:11 2005
# Generated by iptables-save v1.2.11 on Fri Jul 29 17:55:11 2005
*filter
:INPUT DROP [85205:7582033]
:FORWARD ACCEPT [3024815:2132674566]
:OUTPUT ACCEPT [476997:234871441]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i ! eth0 -m state --state NEW -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -i ! eth0 -p icmp -j ACCEPT
-A FORWARD -s 192.168.0.127 -i eth0 -p tcp -m tcp --dport 5800 -j ACCEPT
-A FORWARD -d 192.168.0.127 -i eth0 -p tcp -m tcp --dport 5800 -j ACCEPT
-A FORWARD -s 192.168.0.127 -i eth0 -p tcp -m tcp --dport 5900 -j ACCEPT
-A FORWARD -d 192.168.0.127 -i eth0 -p tcp -m tcp --dport 5900 -j ACCEPT
-A FORWARD -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.0.127 -i eth0 -p tcp -m tcp --dport 6881 -j ACCEPT
-A FORWARD -d 192.168.0.127 -i eth0 -p tcp -m tcp --dport 6881 -j ACCEPT
COMMIT
# Completed on Fri Jul 29 17:55:11 2005
|
Code: | tux / # ifconfig
eth0 Link encap:Ethernet HWaddr 00:B0:D0:1A:6C:85
inet addr:67.51.37.62 Bcast:67.51.39.255 Mask:255.255.248.0
inet6 addr: fe80::2b0:d0ff:fe1a:6c85/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:564426 errors:0 dropped:0 overruns:0 frame:0
TX packets:673520 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:107548148 (102.5 Mb) TX bytes:606235214 (578.1 Mb)
Interrupt:11 Base address:0xdc00
eth1 Link encap:Ethernet HWaddr 00:A0:CC:26:FD:C4
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2a0:ccff:fe26:fdc4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:711733 errors:10693 dropped:0 overruns:0 frame:17326
TX packets:586739 errors:0 dropped:0 overruns:0 carrier:0
collisions:26428 txqueuelen:1000
RX bytes:606219359 (578.1 Mb) TX bytes:130079992 (124.0 Mb)
Interrupt:10 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7120 (6.9 Kb) TX bytes:7120 (6.9 Kb)
|
|
|