LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-22-2003, 05:01 PM   #16
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

How does your 'ifconfig' result look like (I mean, are there errors)?
 
Old 12-23-2003, 11:13 PM   #17
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
I wouldn't know if there was an error so here is ifconfig:

eth0 Link encap:Ethernet HWaddr 00:40:05:9F:52:27
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:250463 errors:0 dropped:0 overruns:0 frame:0
TX packets:181298 errors:0 dropped:0 overruns:0 carrier:0
collisions:7 txqueuelen:100
RX bytes:35352223 (33.7 Mb) TX bytes:38868803 (37.0 Mb)
Interrupt:10 Base address:0x240

eth1 Link encap:Ethernet HWaddr 00:40:05:9F:5C:97
inet addr:82.133.999.*** Bcast:255.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1260 (1.2 Kb)
Interrupt:11 Base address:0x260

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:604885 errors:0 dropped:0 overruns:0 frame:0
TX packets:604885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52336038 (49.9 Mb) TX bytes:52336038 (49.9 Mb)
 
Old 12-24-2003, 04:57 PM   #18
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Nothing's coming to eth1. That's bad. It may be something wrong with your DHCP configuration. Can you describe in detail what you did?
 
Old 12-28-2003, 10:47 PM   #19
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
erm no data cos i didn't ahve the modem plugged in, can only access net wen modem is in my windows machine :s - i'll leave it for a bit in the linux machine and post the results again
 
Old 12-28-2003, 11:18 PM   #20
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
ok i plugged modem back into my linux box, and changed my setup to use dhcp to obtain the ip from the modem - rather than assumeing static, and it worked..

..for a few seconds ¬_¬

a quick analysys of /var/log/messages gave me the answer:
Code:
Dec 29 05:11:19 neo dhclient: bound to 82.***.***.** -- renewal in 24 seconds.
Dec 29 05:11:43 neo dhclient: DHCPREQUEST on eth1 to 192.168.0.1 port 67
Dec 29 05:12:11 neo last message repeated 3 times
Dec 29 05:12:21 neo dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Dec 29 05:12:21 neo dhclient: receive_packet failed on eth1: Network is down
Dec 29 05:12:21 neo dhclient: dhclient.c(1216): non-null pointer
Dec 29 05:12:21 neo dhclient: DHCPOFFER from 192.168.0.1
Dec 29 05:12:21 neo dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Dec 29 05:12:21 neo dhclient: DHCPACK from 192.168.0.1
Dec 29 05:12:21 neo dhclient: dhclient.c(1216): non-null pointer
Dec 29 05:12:21 neo dhclient: bound to 82.***.***.** -- renewal in 31 seconds.
etc.

It keeps renewing its ip addr - thus dropping the connection whilst the modem issues it with a new IP.

Is there anyway i can make it initially grab an IP, but then not ask for an IP again ?

I am on a static IP anyway, so making the box keep the IP for as long as the interface is up will cause no problems.

Thanks

Dataforce
 
Old 12-30-2003, 03:23 PM   #21
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Would I be right in saying the DHCP Client doesn't choose the renewal and that the Server does, and therefore if my modem is giving stupidly small renewal times there is nothing i can do about it ?
 
Old 01-03-2004, 02:27 PM   #22
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
guess so :S
 
Old 01-05-2004, 03:57 PM   #23
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
please can someone reply telling me if its possible to make my box only grab the ip on ifup - and not to renew it
 
Old 01-06-2004, 03:52 PM   #24
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
please i've been trying to get this working for over a month, and i'm nearly there, as soon as i can stop eth1 attempting to renew its IP i'll be done :S
 
Old 01-14-2004, 02:43 PM   #25
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
all i need to know is how to ignore the DHCP renewal times ¬_¬
 
Old 01-15-2004, 10:14 AM   #26
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
bump
 
Old 01-16-2004, 07:47 PM   #27
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
please :S
 
Old 01-18-2004, 02:41 PM   #28
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
bump again :S
 
Old 01-22-2004, 03:59 PM   #29
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
please help, i really don't l;ike bumping, but i need an answer :S
 
Old 01-26-2004, 01:38 PM   #30
Dataforce
Member
 
Registered: Nov 2003
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
yet another bump
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ADSL Problems: "cannot enable interface ppp0" funkymunky Linux - Networking 3 05-24-2005 06:19 AM
Problems with "adsl-setup" b0r Linux - Networking 2 02-22-2005 01:31 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM
"unusable" network (possibly re. ARP) Ollie5882 Linux - Networking 9 10-10-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration