Can't ping or get some sites
From: Chris (shock106_at_yahoo.com)
Date: 09/03/03
- Next message: jack: "Re: iptables NAT and MASQUERADE"
- Previous message: Ted Behling: "High latency with MASQ, not without"
- Next in thread: Steve Holdoway: "Re: Can't ping or get some sites"
- Reply: Steve Holdoway: "Re: Can't ping or get some sites"
- Reply: Bit Twister: "Re: Can't ping or get some sites"
- Reply: David Efflandt: "Re: Can't ping or get some sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Sep 2003 21:43:35 -0700
>From what it looks like I can't seem to resolve IP addresses from
domain names when I am running my NAT script. The eth1 startup script
is set for eth0 as the gateway, and eth1 gets its IP from a DHCP
server. Is this how I am supposed to set eth1 to resolve IPs? If not
how do I do that?
/etc/sysconfig/network-script/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
/etc/sysconfig/network-script/ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=eth0
For eth1 should I set gateway to something else? If so what?
- Next message: jack: "Re: iptables NAT and MASQUERADE"
- Previous message: Ted Behling: "High latency with MASQ, not without"
- Next in thread: Steve Holdoway: "Re: Can't ping or get some sites"
- Reply: Steve Holdoway: "Re: Can't ping or get some sites"
- Reply: Bit Twister: "Re: Can't ping or get some sites"
- Reply: David Efflandt: "Re: Can't ping or get some sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]