PDA

View Full Version : DNS Web surfing issue


Nu-kid
2006-02-23, 10:38 AM CST
I have FC4 setup as my router and the eth1 is the nic connected to the hub 192.168.2.1. eth0 is connected to internet ISP. The other PC's on my network are connected to the same hub, but they can't web browse.
So I ran the route command below.

[root@GENESIS sysconfig]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bras11-l0.pltnc * 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 192.168.2.1 255.255.255.0 UG 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
default bras11-l0.pltnc 0.0.0.0 UG 0 0 0 ppp0
[root@GENESIS sysconfig]#

I was wondering. I noticed I have two entries for 192.168.2.0 under Destination colunm. I think the correct entry should be the one with 192.168.2.1 as the Gateway.
Would the 2 entries cause as problem? If so how can I remove either one?

Thnx.

Aspin
2006-03-01, 10:20 PM CST
Hi Nu-kid,
The gate way should be on the ppp0 conection not the eth0 conection. As I assume that is conected to the internet.
I sujest installing firestarter as it can configer every thing for you. As you will need network address translation for the machines on your local network set up be for they will be able to surf the net.

pinenut
2006-03-02, 04:30 AM CST
I have FC4 setup as my router and the eth1 is the nic connected to the hub 192.168.2.1. eth0 is connected to internet ISP. The other PC's on my network are connected to the same hub, but they can't web browse.
<the rest snipped>
Thnx.
Why do you have your FC4 setup act as a router? The other PC's are connected to the real router (the hub), which will do better job as the router. I think you'd better have the hub act as the router and your FC4 machine a member of the router. In other words, the router (the hub you call it) has to be connected to your ISP through a modem (such as DSL/Cable). This way, you don't have to worry about other computers' access to the Internet. A modern router will also serve as a superb firewall for your LAN.

Sarthan
2006-03-02, 04:37 AM CST
A hub or switch is not per se a router.

pinenut
2006-03-02, 04:39 AM CST
A hub is not per se a router.
I know that. But a modern multi-port router can serve as a hub. I've just bought a Linksys DSL router with 4 ports for $52.00. The router will take care of the Internet access of my three computers, two of which run under FC4 and the other under WindowsXP.

Sarthan
2006-03-02, 04:57 AM CST
I used to have a linux box work as a router for several years, but recently I also switched to a standalone router to take care of the internet connection. The reason I switched was because I had a 1U rack-server running night and day to keep the internet connection alive, but that thing made so much noise that I was so fed up with that I threw it out and switched to a standalone router. No need to keep a full system running night and day in a home-environment when this small-box/no-noise can do the same :D