[CentOS] USB to Ethernet problem

Tue Mar 18 12:24:58 UTC 2014
Giri Prasad <g_pr23 at yahoo.com>


> On 18/03/14 19:49, Giri Prasad wrote:
> 
> >> Now, after assigning a static IPV4 address, this eth1 is pinging to the default gateway 192.168.1.1. But eth1 is not pinging/connecting to the external internet. Can someone please provide some answers.
> >>
> >>
> 
> >Can you ping an IP Address - such as 8.8.8.8?

> 
> 
> # ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> ^C
> --- 8.8.8.8 ping statistics ---
> 18 packets transmitted, 0 received, 100% packet loss, time 17372ms
> 
> 
Do you have NAT enabled somewhere? It looks as if you do not have it or
you have a routing issue on 192.168.1.1?
You will need it to be able to reach anything outside your own
network.... What does nslookup google.com say?



Thanks for your message.

192.168.1.1:
binatone wireless n ADSL2+ Modem Router

 NAT   :     Enabled

.config
*******
CONFIG_NF_NAT=y
CONFIG_NF_NAT_NEEDED=y
CONFIG_NF_NAT_IPV4=y


# nslookup google.com

Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    google.com
Address: 74.125.236.33
Name:    google.com
Address: 74.125.236.36
Name:    google.com
Address: 74.125.236.34
Name:    google.com
Address: 74.125.236.38
Name:    google.com
Address: 74.125.236.39
Name:    google.com
Address: 74.125.236.32
Name:    google.com
Address: 74.125.236.40
Name:    google.com
Address: 74.125.236.41
Name:    google.com
Address: 74.125.236.35
Name:    google.com
Address: 74.125.236.37
Name:    google.com
Address: 74.125.236.46