Re: interesting Proplem using Linux as a Router



Did you add a default gateway:

route add default gw <ip address of gateway>

And make sure you let your firewall send dns traffic through if you are handing your internal clients dns servers from outside your internal lan.

Romeo


On Jun 26, 2006, at 11:55 PM, Omar Hasan wrote:


Hi all,
I ahave configure linux to act as a router. I have
set up the iptables and forwarding and the DHCP
server. when I ping an a public IP address such as
68.x.x.x for yahoo, I am able to ping. However, when
I ping a domain name such as www.yahoo.com, I cannot
ping. How can I have the IP address to resolve to a
domain name.

Regards,

Omar

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: cant access desktop from laptop
    ... Start diagnosis for GATEWAY ... "GATEWAY ping GATEWAY" ... Desktop Pictures Disk ... Laptop Backup Disk ...
    (microsoft.public.windowsxp.network_web)
  • Re: Wifi access with Windows 95
    ... SM>> SM> what happens when you ping the gateway assigned above? ... SM> Last week I was travelling, and tried a few wireless hotspots. ... SM> hotel page which asked me for the access code, which of course I did not ...
    (alt.internet.wireless)
  • Re: Cant ping or get some sites
    ... fw is the firewall box with two nics and wb is the web browsing ... pc1 node's gateway ... ping -c 1 150.135.180.1 to test route to isp gateway. ...
    (comp.os.linux.networking)
  • unable to ping gateway
    ... I have a problem on a private ethernet where my F50 cannot ping its ... I hagotten out the service manual for the F50 and mapped ent0 's ... subnet, gateway with a co-worker. ... I'd have to sit in the machine room and it 51 (out of support). ...
    (comp.unix.aix)
  • Re: Network connectivity between FreeBSD and Linux
    ... > When I ping from my FreeBSD to the FC2 box, ... > are never making it to the network cable - is my network card ... > to set the IP and netmask - no errors were reported. ... Did you set a gateway in /etc/rc.conf? ...
    (freebsd-questions)