[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Lost all network connectivity after clean FC3 install

Hi Jay!

Thanks to your help I am making progress on my
networking problems.

1. Now I have internet connectivity by adding the GW
to the eth0-DHCP configuration.

2. Now I also can bring up the LAN side on eth1 by
removing the GW from the settings and using ip address and mask.

3. I have a Fedora PC connected to eth1 using a
crossover cable. Before I had internet connectivity
with the following settings on the client PC (adjusted
for new network schema):

GW: (= eth1 on PC connected to cable

DNS: same entries as on PC connected to cable modem.

Then I adjust /proc/sys/net/ipv4/ip_forward and also
modify /etc/sysctl.conf so that I do not have to echo
to proc after each reboot.

Then I type (as root) on the PC connected to the cable

iptables --table nat --append POSTROUTING
--out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j

So, when I still was at FC1 it worked like a charm. 
Now as FC3 the following happens at the client PC

1. ping, OK works!
2. ping the IP number of either of the DNS servers, OK
3. ping the charter.net GW, OK works!
4. ping a non-IP, thus requiring DNS name resolution
e.g. ping www.cnn.com, the I get:

www.cnn.com unknown host.  So for some reason I do not
get DNS to resolve host names even though everything
else now works. 

/etc/resolv.conf is the same now on and

netstat -rn on

Destination     Gateway         Genmask         Flags 
 MSS Window  irtt Iface   U     
   0 0          0 eth1   U     
   0 0          0 eth0     U     
   0 0          0 eth1         UG    
   0 0          0 eth0

iptables -L -t nat
target     prot opt source               destination

target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Any suggestion?
Thanks in advance.


 --- Jay Scherrer <jay scherrer com> ha scritto: 
> Enrico,
> In your /etc/hosts file have record for localhost?
> looking at your route, I don't see it listed.
> How did you configure the dev's? Did you use the GUI
> version? 
> redhat-config-network?
> Or could you use: # ifconfig eth0
> To get the Lan address of eth0
> Then run 
> # ifconfig eth1  (LAN address different from eth0)
> But still check to  is set to a local
> address. 
> Aren't multiple eth's fun?
> Here's mine,
> Although only one eth0 listed:
> [jay gimpit jay]$ /sbin/route
> Kernel IP routing table
> Destination     Gateway         Genmask        
> Flags Metric Ref    
> Use Iface
>     *        U   
>  0      0        
> 0 eth0
>     *          U   
>  0      0        
> 0 eth0
>       *            U   
>  0      0        
> 0 lo
> default         linksys         UG  
>  0      0        
> 0 eth0
> Here is my /etc/hosts file:
> [jay gimpit jay]$ cat /etc/hosts
> # Do not remove the following line, or various
> programs
> # that require network functionality will fail.
>       gimpit  localhost.localdomain  
> localhost
>     linksys

Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica? Scaricalo ora! 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]