Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-24-2002, 08:45 PM
|
#1
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Rep:
|
Connecting through the router but,....
Even though it works now,......in, say an hour the internet will stop funtioning. I dunno why though,...lol I am using port forwarding to connect through the router, but it seems kinda slow to me,....i dunno,...maybe it's just me. My main concern is why I lose internet. Maybe I have to tell eth1 to grab a new dhcp address every so often? Is that the "pump" command? If so are there any flags that you use? Can I put pump in a cron job to this every so often?
TIA -- Jase
|
|
|
01-24-2002, 11:10 PM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
what router?
what internet connection?
I'm confused
|
|
|
01-24-2002, 11:20 PM
|
#3
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
ooops,....sorry
eth0 = LAN
eth1 = cable modem
eth1 = gets ip from ISP dhcp
I woke up this morning and checked the status of eth0 and eth1,.....eth1 was down. Some how during the night, eth1 managed to turn itself off. eth0 was up and running with no problem. Anyone have a clue on this?
TIA -- jase
Last edited by Jase; 01-25-2002 at 07:05 AM.
|
|
|
01-25-2002, 11:53 AM
|
#4
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
yup still same problem,....eth1 (WAN adapter) turns itself off,...lol,...I dunno how but every 4 hours or so, eth1 will just shutdown. Anyone run into this?
|
|
|
01-25-2002, 09:42 PM
|
#5
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
You could try static for a while to test it.
dhcp should not do that but who knows.
anything in /var/log/messages?
|
|
|
01-26-2002, 12:14 AM
|
#6
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
Code:
Jan 25 17:40:47 stats pumpd[9081]: failed to renew lease for device eth1
Jan 25 17:40:47 stats kernel: fp=UDP:2 a=DROP IN= OUT=eth1 SRC=10.0.0.1 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00
TTL=64 ID=0 DF PROTO=UDP SPT=68 DPT=67 LEN=308
Jan 25 17:40:47 stats pumpd[9081]: terminating as there are no more devices under management
Jan 25 18:00:23 stats sshd(pam_unix)[9387]: session opened for user jason by (uid=0)
Jan 25 18:00:30 stats su(pam_unix)[9416]: session opened for user root by jason(uid=506)
Jan 25 18:00:33 stats kernel: Linux Tulip driver version 0.9.15-pre6 (July 2, 2001)
Jan 25 18:00:33 stats kernel: tulip0: MII transceiver #1 config 1000 status 782d advertising 01e1.
Jan 25 18:00:33 stats kernel: eth1: Lite-On 82c168 PNIC rev 33 at 0xdc00, 00:A0:CC:3D:36:46, IRQ 10.
Jan 25 18:00:33 stats /etc/hotplug/net.agent: register event not handled
Jan 25 18:00:33 stats pumpd[9506]: starting at (uptime 0 days, 21:26:56) Fri Jan 25 18:00:33 2002
Jan 25 18:00:33 stats kernel: fp=UDP:2 a=DROP IN= OUT=eth1 SRC=10.0.0.1 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00
TTL=64 ID=0 DF PROTO=UDP SPT=68 DPT=67 LEN=308
Jan 25 18:00:33 stats kernel: fp=UDP:2 a=DROP IN= OUT=eth1 SRC=10.0.0.1 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00
TTL=64 ID=0 DF PROTO=UDP SPT=68 DPT=67 LEN=308
Jan 25 18:00:42 stats pumpd[9506]: configured interface eth1
Jan 25 18:03:13 stats kernel: fp=TCP:1 a=DROP IN=eth1 OUT= MAC=00:a0:cc:3d:36:46:00:c0:49:14:03:b7:08:00 SRC=202.104.94
.57 DST=24.214.25.156 LEN=60 TOS=0x00 PREC=0x00 TTL=46 ID=23436 DF PROTO=TCP SPT=4927 DPT=111 WINDOW=32120 RES=0x00 SYN
URGP=0
Jan 25 18:16:34 stats kernel: fp=TCP:1 a=DROP IN=eth1 OUT= MAC=00:a0:cc:3d:36:46:00:c0:49:14:03:b7:08:00 SRC=159.153.19
4.3 DST=24.214.25.156 LEN=40 TOS=0x00 PREC=0x00 TTL=51 ID=63936 PROTO=TCP SPT=80 DPT=1408 WINDOW=0 RES=0x00 ACK RST URG
P=0
This mean anything to you? 
|
|
|
01-26-2002, 09:26 AM
|
#7
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
went to bed last night,...eth1 = running. Woke up this morning eth1 = down. I think I have found the problem though,....apparently my firewall won't allow dhcp to go out or come in from outside. So when eth1 tries to renew a lease my firewall basically to dhcp,..."fuck you". /me goes to play with firewall some. 
|
|
|
01-26-2002, 10:48 AM
|
#8
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
although,....this doesn't help either
|
|
|
01-27-2002, 10:41 AM
|
#9
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
heheh,....time for a new nic me thinks
Code:
TX packets:696099 errors:15 dropped:0 overruns:0 carrier:0
collisions:68618 txqueuelen:100
|
|
|
01-27-2002, 09:24 PM
|
#10
|
Member
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113
Original Poster
Rep:
|
Here is my problem I think. This is spamming my console.
Code:
Jan 27 21:23:42 stats kernel: fp=UDP:2 a=DROP IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:ba:a2:1f:f9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=62464 PROTO=UDP SPT=68 DPT=67 LEN=308
Jan 27 21:23:58 stats kernel: fp=UDP:2 a=DROP IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:ba:a2:1f:f9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=62720 PROTO=UDP SPT=68 DPT=67 LEN=308
I think my iptables rules are not allowing dhcpd on my LAN and also blocking my WAN dhcp from my ISP. What rules should I add to allow dhcpd on the LAN side and dhcp from my ISP?
|
|
|
01-27-2002, 09:38 PM
|
#11
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
Normally the lan interface is not firewalled.
you need the serverip for this rule
iptables -A INPUT -i eth0 -p tcp -s $DHCPSERVERIP --source-port 67 --destination-port 68 -j ACCEPT
|
|
|
All times are GMT -5. The time now is 04:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|