LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Access Internet (https://www.linuxquestions.org/questions/linux-networking-3/access-internet-688672/)

GirishSharma 12-10-2008 12:08 AM

Now i have given the IP address of proxy server i.e. 192.168.0.16 as default gateway, but still it is not working. Here it is current network settings:
-
Code:

- collectNWData.sh V0.6.1.8 (Build date: 2008/12/05 17:33:47 -
- --- Which type of your network connection should be tested?
- --- (1) Wired connection
- --- What's the type of networktopology?
- --- (2) DSL HW router <---> LinuxClient
- --- On which host is the script executed?
- --- (1) LinuxClient
- !!! CND0180I: The system can't ping external IP address 195.135.220.3
- !!! CND0150E: There might be problems with the default gateway definition 192.168.0.16 on interface eth0
- !!! CND0230W: IPV6 enabled
- !!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
- --- Writing networkconfiguration information into file collectNWData.txt ...
- --- 1 errors detected
- --- 2 warnings detected
- --- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions about the error/warning messages and how to fix the problems
- --- If you still don't have success then post the contents of file collectNWData.txt in your favorite Linux forum or post contents on phpfi.com and then post the link to phpfi.com in your favorite forum
- ==================================================================================================================
- ==================================================================================================================
- *** uname -a
- Linux localhost.localdomain 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
- ==================================================================================================================
- *** cat /etc/SuSE-release
- cat: /etc/SuSE-release: No such file or directory
- ==================================================================================================================
- *** cat /etc/resolv | grep -vi "search"
- nameserver 192.168.0.16
- ==================================================================================================================
- *** route
- Kernel IP routing table
- Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
- 192.168.84.0    0.0.0.0        255.255.255.0  U    0      0        0 vbinat0
- 192.168.0.0    0.0.0.0        255.255.255.0  U    0      0        0 eth0
- 192.168.121.0  0.0.0.0        255.255.255.0  U    0      0        0 vmnet1
- 192.168.72.0    0.0.0.0        255.255.255.0  U    0      0        0 vmnet8
- 169.254.0.0    0.0.0.0        255.255.0.0    U    0      0        0 eth0
- 0.0.0.0        192.168.0.16    0.0.0.0        UG    0      0        0 eth0
- ==================================================================================================================
- *** ifconfig
- eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1 
-          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
-          inet6 addr: fe80::211:d8ff:feba:c375/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:215 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:1000
-          RX bytes:28700 (28.0 KiB)  TX bytes:7852 (7.6 KiB)
-          Interrupt:201 Base address:0xc000
- lo        Link encap:Local Loopback 
-          inet addr:127.0.0.1  Mask:255.0.0.0
-          inet6 addr: ::1/128 Scope:Host
-          UP LOOPBACK RUNNING  MTU:16436  Metric:1
-          RX packets:2360 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:2360 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:0
-          RX bytes:3118402 (2.9 MiB)  TX bytes:3118402 (2.9 MiB)
- vbinat0  Link encap:Ethernet  HWaddr ##:##:##:##:##:#2 
-          inet addr:192.168.84.254  Bcast:192.168.84.255  Mask:255.255.255.0
-          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:0
-          RX bytes:0 (0.0 b)  TX bytes:378 (378.0 b)
- vmnet1    Link encap:Ethernet  HWaddr ##:##:##:##:##:#3 
-          inet addr:192.168.121.1  Bcast:192.168.121.255  Mask:255.255.255.0
-          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:1000
-          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- vmnet8    Link encap:Ethernet  HWaddr ##:##:##:##:##:#4 
-          inet addr:192.168.72.1  Bcast:192.168.72.255  Mask:255.255.255.0
-          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:1000
-          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- ==================================================================================================================
- *** ping tests
- Ping of 195.135.220.3 failed
- ping: unknown host www.suse.de
- Ping of www.suse.de failed
- ==================================================================================================================
- *** dhcpcd-test
- dhcpcd-test not available. dhcpcd package needs to be installed
- ==================================================================================================================
- *** lspci
- ==================================================================================================================
- *** lsusb
- Bus 005 Device 001: ID 0000:0000 
- Bus 004 Device 001: ID 0000:0000 
- Bus 003 Device 001: ID 0000:0000 
- Bus 002 Device 001: ID 0000:0000 
- Bus 001 Device 001: ID 0000:0000 
- ==================================================================================================================
- *** hwinfo --netcard; # (filtered)
- hwinfo not found
- ==================================================================================================================
- *** List of loaded modules
- | ac                      | ata_piix                | atm                    | autofs4                  |
- | battery                | bridge                  | button                  | dm_mod                  |
- | ehci_hcd                | ext3                    | floppy                  | hw_random                |
- | i2c_core                | i2c_dev                | i915                    | ip_conntrack            |
- | ip_conntrack_ftp        | ip_nat_ftp              | iptable_filter          | iptable_nat              |
- | ip_tables              | ipv6                    | jbd                    | kqemu                    |
- | libata                  | lp                      | md5                    | parport                  |
- | parport_pc              | r8169                  | scsi_mod                | sd_mod                  |
- | snd                    | snd_ac97_codec          | snd_intel8x0            | snd_mixer_oss            |
- | snd_mpu401_uart        | snd_page_alloc          | snd_pcm                | snd_pcm_oss              |
- | snd_rawmidi            | snd_seq_device          | snd_timer              | soundcore                |
- | sunrpc                  | uhci_hcd                | vmmon                  | vmnet                    |
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
- ==================================================================================================================
- *** NWEliza states
- IF:eth0  IM:1
- DI:1 dI:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:1 DR:1 MTU:0 NISS:0 IP6:1 KM:0 WLW: 0
-

It is saying that "There might be problems with the default gateway definition 192.168.0.16 on interface eth0". So, how to fix the problem?

Regards
Girish

GirishSharma 12-20-2008 10:36 PM

Access Internet
 
Quote:

Originally Posted by GirishSharma (Post 3370023)
Now i have given the IP address of proxy server i.e. 192.168.0.16 as default gateway, but still it is not working. Here it is current network settings:
-
Code:

- collectNWData.sh V0.6.1.8 (Build date: 2008/12/05 17:33:47 -
- --- Which type of your network connection should be tested?
- --- (1) Wired connection
- --- What's the type of networktopology?
- --- (2) DSL HW router <---> LinuxClient
- --- On which host is the script executed?
- --- (1) LinuxClient
- !!! CND0180I: The system can't ping external IP address 195.135.220.3
- !!! CND0150E: There might be problems with the default gateway definition 192.168.0.16 on interface eth0
- !!! CND0230W: IPV6 enabled
- !!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
- --- Writing networkconfiguration information into file collectNWData.txt ...
- --- 1 errors detected
- --- 2 warnings detected
- --- Go to http://www.linux-tips-and-tricks.de/CND to get more detailed instructions about the error/warning messages and how to fix the problems
- --- If you still don't have success then post the contents of file collectNWData.txt in your favorite Linux forum or post contents on phpfi.com and then post the link to phpfi.com in your favorite forum
- ==================================================================================================================
- ==================================================================================================================
- *** uname -a
- Linux localhost.localdomain 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
- ==================================================================================================================
- *** cat /etc/SuSE-release
- cat: /etc/SuSE-release: No such file or directory
- ==================================================================================================================
- *** cat /etc/resolv | grep -vi "search"
- nameserver 192.168.0.16
- ==================================================================================================================
- *** route
- Kernel IP routing table
- Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
- 192.168.84.0    0.0.0.0        255.255.255.0  U    0      0        0 vbinat0
- 192.168.0.0    0.0.0.0        255.255.255.0  U    0      0        0 eth0
- 192.168.121.0  0.0.0.0        255.255.255.0  U    0      0        0 vmnet1
- 192.168.72.0    0.0.0.0        255.255.255.0  U    0      0        0 vmnet8
- 169.254.0.0    0.0.0.0        255.255.0.0    U    0      0        0 eth0
- 0.0.0.0        192.168.0.16    0.0.0.0        UG    0      0        0 eth0
- ==================================================================================================================
- *** ifconfig
- eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1 
-          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
-          inet6 addr: fe80::211:d8ff:feba:c375/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:215 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:1000
-          RX bytes:28700 (28.0 KiB)  TX bytes:7852 (7.6 KiB)
-          Interrupt:201 Base address:0xc000
- lo        Link encap:Local Loopback 
-          inet addr:127.0.0.1  Mask:255.0.0.0
-          inet6 addr: ::1/128 Scope:Host
-          UP LOOPBACK RUNNING  MTU:16436  Metric:1
-          RX packets:2360 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:2360 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:0
-          RX bytes:3118402 (2.9 MiB)  TX bytes:3118402 (2.9 MiB)
- vbinat0  Link encap:Ethernet  HWaddr ##:##:##:##:##:#2 
-          inet addr:192.168.84.254  Bcast:192.168.84.255  Mask:255.255.255.0
-          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:0
-          RX bytes:0 (0.0 b)  TX bytes:378 (378.0 b)
- vmnet1    Link encap:Ethernet  HWaddr ##:##:##:##:##:#3 
-          inet addr:192.168.121.1  Bcast:192.168.121.255  Mask:255.255.255.0
-          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:1000
-          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- vmnet8    Link encap:Ethernet  HWaddr ##:##:##:##:##:#4 
-          inet addr:192.168.72.1  Bcast:192.168.72.255  Mask:255.255.255.0
-          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
-          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
-          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
-          collisions:0 txqueuelen:1000
-          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
- ==================================================================================================================
- *** ping tests
- Ping of 195.135.220.3 failed
- ping: unknown host www.suse.de
- Ping of www.suse.de failed
- ==================================================================================================================
- *** dhcpcd-test
- dhcpcd-test not available. dhcpcd package needs to be installed
- ==================================================================================================================
- *** lspci
- ==================================================================================================================
- *** lsusb
- Bus 005 Device 001: ID 0000:0000 
- Bus 004 Device 001: ID 0000:0000 
- Bus 003 Device 001: ID 0000:0000 
- Bus 002 Device 001: ID 0000:0000 
- Bus 001 Device 001: ID 0000:0000 
- ==================================================================================================================
- *** hwinfo --netcard; # (filtered)
- hwinfo not found
- ==================================================================================================================
- *** List of loaded modules
- | ac                      | ata_piix                | atm                    | autofs4                  |
- | battery                | bridge                  | button                  | dm_mod                  |
- | ehci_hcd                | ext3                    | floppy                  | hw_random                |
- | i2c_core                | i2c_dev                | i915                    | ip_conntrack            |
- | ip_conntrack_ftp        | ip_nat_ftp              | iptable_filter          | iptable_nat              |
- | ip_tables              | ipv6                    | jbd                    | kqemu                    |
- | libata                  | lp                      | md5                    | parport                  |
- | parport_pc              | r8169                  | scsi_mod                | sd_mod                  |
- | snd                    | snd_ac97_codec          | snd_intel8x0            | snd_mixer_oss            |
- | snd_mpu401_uart        | snd_page_alloc          | snd_pcm                | snd_pcm_oss              |
- | snd_rawmidi            | snd_seq_device          | snd_timer              | soundcore                |
- | sunrpc                  | uhci_hcd                | vmmon                  | vmnet                    |
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
- ==================================================================================================================
- *** NWEliza states
- IF:eth0  IM:1
- DI:1 dI:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:1 DR:1 MTU:0 NISS:0 IP6:1 KM:0 WLW: 0
-

It is saying that "There might be problems with the default gateway definition 192.168.0.16 on interface eth0". So, how to fix the problem?

Regards
Girish


Any Update please....!
Regards
Girish Sharma

framp 12-21-2008 11:55 AM

Looks like 192.168.0.16 is neither your gateway nor your dns server.
Pls post the result of
Code:

dig @192.168.0.16 www.google.de
and
Code:

traceroute www.google.de

GirishSharma 12-21-2008 10:01 PM

Code:

[root@localhost ~]# dig @192.168.0.16 www.google.de

; <<>> DiG 9.2.4 <<>> @192.168.0.16 www.google.de
;; global options:  printcmd
;; connection timed out; no servers could be reached
[root@localhost ~]# traceroute www.google.de
traceroute: unknown host www.google.de

Thanks & Regards
Girish Sharma

framp 12-22-2008 03:40 AM

192.168.0.16 is no name server. You have to talk to your network admin and ask for an existing nameserver IP address.


All times are GMT -5. The time now is 05:26 AM.