LinuxQuestions.org
Review your favorite Linux distribution.
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 04-20-2006, 11:38 AM   #1
kzyhorse
LQ Newbie
 
Registered: Dec 2003
Location: Denver
Distribution: RedHat 8
Posts: 2

Rep: Reputation: 0
DHCP conflicts?


Greetings
Running a DSL internet connection to a Actiontec modem.
The windows machine is connected via wireless and works fine except for the daily 'blue screen of death'

Hence the attempted migration to linux...
be advised: linux newbie!

Running Fedora 4 on a amd 900mhz, connected to Actiontec dsl modem via hardwire and network card.
Card is functional

Internet access was intermittent (some pages loaded, most did not) until running across dhcp mini how to.
Unfortunately, can't post the url until I've made three posts to the forum.

As root, added
"route add -host 255.255.255.255 dev eth0"

Internet access improved significantly under root expect "ping" which produced 100% packet loss.
Also, after logging in as "any user" internet access returns to intermittent (some pages load, most do not)

What more do I need to do?
Thanks in advance
 
Old 04-20-2006, 01:34 PM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,
DHCP should give you an IP address, a netmask, a gateway and at least one nameserver.

the IP address is your address, the mask gives you the information of who's on the same network as you are.
The gateway is the IP that is the gate to the other networks (internet) and the nameserver is the IP of a machine translating IP addresses to names (and the other way round) so that you can ping www.google.com instead of 66.102.9.104

Since DHCP gives you a gateway, you shouldn't have to use the route command (which is use to manually add routes, ie gateways to other networks).

Could you please post the output of the following commands, as root:
ifconfig -a
route -n
cat /etc/resolv.conf
iptables -L

Also, if you know it, give us the IP address of your dsl modem.
 
Old 04-20-2006, 03:49 PM   #3
kzyhorse
LQ Newbie
 
Registered: Dec 2003
Location: Denver
Distribution: RedHat 8
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the info
here is the requested output:

[root@localhost ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50A:66:BB:EF
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:daff:fe66:bbef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:127905 errors:0 dropped:0 overruns:1 frame:0
TX packets:117664 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:97037861 (92.5 MiB) TX bytes:15415069 (14.7 MiB)
Interrupt:11 Base address:0xfc00

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:2522 errors:0 dropped:0 overruns:0 frame:0
TX packets:2522 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2765874 (2.6 MiB) TX bytes:2765874 (2.6 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0


[root@localhost ~]# iptables -L
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
[root@localhost ~]#

File Contents of the etc/resolv.conf

search localdomain
nameserver 192.168.0.1
nameserver 192.168.0.5


LAN IP address 192.168.0.1
 
  


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 DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 09:34 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
apt-get conflicts pk21 Linux - Software 6 03-03-2004 11:24 AM
IRQ Conflicts jeempc Linux - Hardware 2 02-29-2004 05:53 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

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

All times are GMT -5. The time now is 12:23 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