LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2004, 04:21 AM   #1
ranger225
LQ Newbie
 
Registered: Aug 2004
Posts: 29

Rep: Reputation: 15
Angry network unreachable frm mandrake 10.0 but working in win2k


hi,
i have win2K n mandrake 10 installed on my system. n also have Realtek RTL8139/810x Family Fast Ethernet NIC. my lan operator provided me with :

1> ip address : 10.16.11.8
2> default gateway : 10.16.10.3
3> DNS : 10.16.0.2
4> subnet mask : 255.255.255.0
5> domain (but he said its of no use if u r using win2k) : manage

i can use net frm win2k (without domain settings )without any probs. but in linux m getting "network is unreachable" error. i run the following commands:

$ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:CD:09:0A:1C
inet addr:10.16.11.8 Bcast:10.16.11.255 Mask:255.255.255.0
inet6 addr: fe80::20a:cdff:fe09:a1c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16530 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1353466 (1.2 Mb) TX bytes:1230 (1.2 Kb)
Interrupt:10 Base address:0x8c00

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:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5156 (5.0 Kb) TX bytes:5156 (5.0 Kb)

$route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.16.11.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

$cat /etc/modules.conf

probeall usb-interface usb-uhci
alias eth0 8139too
alias sound-slot-0 i810_audio

$cat /etc/sysconfig/network
HOSTNAME=ranger
NETWORKING=yes
GATEWAY=10.16.10.3

$cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.16.11.8
NETMASK=255.255.255.0
NETWORK=10.16.11.0
BROADCAST=10.16.11.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes
WIRELESS_ENC_KEY=""

$dmesg | grep eth
eth0: RealTek RTL8139 at 0xc8988c00, 00:0a:cd:09:0a:1c, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present

$ping 10.16.11.8 (my own ip)
PING 10.16.11.8 (10.16.11.8) 56(84) bytes of data.
64 bytes from 10.16.11.8: icmp_seq=1 ttl=64 time=0.076 ms
64 bytes from 10.16.11.8: icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from 10.16.11.8: icmp_seq=3 ttl=64 time=0.048 ms

--- 10.16.11.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.047/0.057/0.076/0.013 ms

$ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.050 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.045 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.048 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.045/0.047/0.050/0.008 ms

$ ping 10.16.10.3 (gateway)
connect: Network is unreachable

$ping cbc.ca
ping: unknown host cbc.ca

while booting my eth0 is getting up......
does anyone know how to solve this prob? i m really confused?
waiting for suggestions.......

 
Old 08-21-2004, 04:49 AM   #2
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 33
It seem's you have your default gateway out of your eth0 address space.

You've to have some gateway in 10.16.10.0/24 network
 
Old 08-21-2004, 05:49 AM   #3
ranger225
LQ Newbie
 
Registered: Aug 2004
Posts: 29

Original Poster
Rep: Reputation: 15
yeah Vookimedlo,
i thought so......acc to networking rules gateway shud be between 10.16.11.0 - 10.16.11.24.......but then how come its working in win2k....?
neways...thanks 4 ur immediate reply....
 
Old 08-21-2004, 06:51 PM   #4
ranger225
LQ Newbie
 
Registered: Aug 2004
Posts: 29

Original Poster
Rep: Reputation: 15
it worked! net is working in linux

hehe, u were right.....i asked my lan provider for another ip n another DNS server whichis in the range *.*.*.0/24.....n it worked
neways......thanx........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Unreachable? biledaemon Slackware 4 10-24-2005 03:05 PM
"Network is unreachable" in Mandrake 10.1 Powerpack RAMMS+EIN Linux - Networking 2 05-10-2005 11:00 AM
Network Is Unreachable!!!!!!!!!!!!!!!!!!!!! koodoo Linux - Newbie 4 02-19-2005 10:51 AM
Network is unreachable confidential007 Linux - Networking 10 06-19-2004 04:06 PM
Network is unreachable??? Tnichols Linux - Networking 15 12-19-2003 10:44 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration