Networking Forums

Networking Forums > Computer Networking > Linux Networking > MDK 9.1: Is it a routing problem?

Reply
Thread Tools Display Modes

MDK 9.1: Is it a routing problem?

 
 
peter pilsl
Guest
Posts: n/a

 
      09-14-2003, 06:44 PM
Michael Badt wrote:

> Hi,
>
> I'm trying to set up an ADSL connection in Mandrake 9.1.
>
> I can't ping to the (Ethernet) ADSL modem and suspect I've a routing
> problem.
>
> I've a single, on-board Ethernet card, connected to the ADSL "modem" (ECI
> 270 PR).
>
> It's a dual-boot system, and, as the ADSL works under WinXP, I've
> extracted from it the following parameters.:
>
> 1.. Eth card IP (static): 10.200.1.1 (mask 255.0.0.0).
> 2.. Gateway 192.117.102.51
>


its rather hard to tell, but lets try both ways :

i) winXP is right. Then you still dont know the IP of your modem. We know
that it is not 10.200.1.1, cause this is the IP of your machine and
therefore the default-route is wrong, cause it points to your own machine
.... So you should set a default-route without gateway (man route) or get
the ip of your modem (10.200.1.138 would be worth a try)
Maybe 10.200.1.1 is the adress of the modem, then you should try 10.200.1.2
for your machine. You dont need a default-route to ping the modem, but you
need it to ping anything else outside your segment.

ii) your ISP is right. just take the ip 192.168.1.11 (netmask
255.255.255.0) to your machine and see if you can reach the modem.


in both cases you should have in mind, that there are modems that are not
pingable at all, cause they simply dont respond to icmp-commands. I dont
know your modem, so I cant tell anything about it.

You should also think about the following possibilities:
i) your modem is not a router and your ISP requires you to build up some
kind of tunnel to use your ADSL. (ppp or pptp or such stuff). Maybe WinXP
does this for you, but not linux. Ask your ISP
ii) maybe its much much easier and your modem is a router and has
dhcp-features, so you simply let dhcpcd assign the networkadress and set
the routes. (DHCP should be a feature to click in network-config. Otherwise
try man dhcpcd or man pump)

hope this helps,
peter


--
peter pilsl
(E-Mail Removed)
http://www.goldfisch.at

 
Reply With Quote
 
 
 
 
Michael Badt
Guest
Posts: n/a

 
      09-14-2003, 07:07 PM
Hi,

I'm trying to set up an ADSL connection in Mandrake 9.1.

I can't ping to the (Ethernet) ADSL modem and suspect I've a routing
problem.

I've a single, on-board Ethernet card, connected to the ADSL "modem" (ECI
270 PR).

It's a dual-boot system, and, as the ADSL works under WinXP, I've extracted
from it the following parameters.:

1.. Eth card IP (static): 10.200.1.1 (mask 255.0.0.0).
2.. Gateway 192.117.102.51


I've set up these parameters in Linux yet I can't ping my modem (Response:
destination host unreachable). My ISP claims the modem IP should be
192.168.1.1 but I can't ping to this IP either. Pinging to 192.117.102.51
doesn't go through either.





I'd appreciate your help.



Thanks in advance.



--------------------copy of ifconfig response---------------------------

eth0 Link encap:Ethernet HWaddr 00:0D:87:06:16:80
inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:8 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xe800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6630 (6.4 Kb) TX bytes:6630 (6.4 Kb)







----------------------copy of route response----------------------------

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.200.1.1 0.0.0.0 UG 0 0 0 eth0





Note: Originally there was not a default in my route. I've added it trying
to solve my problem.






 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      09-15-2003, 09:23 PM
"Jan Geertsma" <(E-Mail Removed)> writes:

]>
]> 1.. Eth card IP (static): 10.200.1.1 (mask 255.0.0.0).
]> 2.. Gateway 192.117.102.51

IF that is the gateway, then you have to tell your machine how to send
stuff to that gateway, and then you have to tell your machine to send
anything for other addresses to that gateway.

]>
]>
]> I've set up these parameters in Linux yet I can't ping my modem (Response:
]> destination host unreachable). My ISP claims the modem IP should be
]> 192.168.1.1 but I can't ping to this IP either. Pinging to 192.117.102.51
]> doesn't go through either.

?? So where did 10.200.1.1 come from? If you are supposed to be
192.169.1.1 then how did you get 10.200.1.1?
Weird. I thing you and your ISP need to talk some more.


]>
]> --------------------copy of ifconfig response---------------------------
]>
]> eth0 Link encap:Ethernet HWaddr 00:0D:87:06:16:80
]> inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0
]> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
]> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
]> TX packets:0 errors:8 dropped:0 overruns:0 carrier:0
]> collisions:0 txqueuelen:100
]> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
]> Interrupt:16 Base address:0xe800
]>
]>
]>
]>
]>
]>
]>
]> ----------------------copy of route response----------------------------
]>
]> Kernel IP routing table
]> Destination Gateway Genmask Flags Metric Ref Use Iface
]> 10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
]> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
]> default 10.200.1.1 0.0.0.0 UG 0 0 0 eth0
]> Note: Originally there was not a default in my route. I've added it trying
]> to solve my problem.

Well your default route is useless, as it points to your machine. Since
the default route is used in cases where your machine does NOT know how
to route the call, sending it to your own machine will not work.

You must find the number of some machine which does know how to route
the calls further. Ie you must ask your ISP what the correct gateway
machine IP . We cannot guess it. One would hope it is a 10.x.x.x number
but if not you will have to tell your machne also how to get packets to
that machine.
In the above, your machine will send out an arp request, asking any
machine with a 10.x.x.x number to tell your machine what its ethernet
MAC address is, and will then send the stuff to that mac number.

 
Reply With Quote
 
Jan Geertsma
Guest
Posts: n/a

 
      09-15-2003, 09:47 PM
I know very little providers with a static ip-address, and very little
providers that use private-range ip-adresses starting with 10.x.x.x or
192.168.x.x but still it might be the case... So I suggest trying DHCP to
get their values for the network.

My provider screwed up their dhcp entries this week, I got a default gateway
outside the netmask so I had to manually add a route to the gateway... which
is in your case might be happening too.

Your PC simply doesn't have a route to the 192.168.lala.x/24 network where
lala may be anything network related and x an 0 since it is not host
related. So your Linuxbox should know where it might find the default
router. You have to add it manually with the following commands.

route add -net 192.168.1.0/24 dev eth0
route del default gateway
route add default gateway 192.168.1.1

where you add a route for the network 192.168.1.x AND
delete the default route to the 10.200.1.1 (unless that IS your real
gateway) AND
add a route to the new default gateway as stated by your ISP

goodluck

"Michael Badt" <(E-Mail Removed)> wrote in message
news:newscache$lgu7lh$vs6$(E-Mail Removed)...
> Hi,
>
> I'm trying to set up an ADSL connection in Mandrake 9.1.
>
> I can't ping to the (Ethernet) ADSL modem and suspect I've a routing
> problem.
>
> I've a single, on-board Ethernet card, connected to the ADSL "modem" (ECI
> 270 PR).
>
> It's a dual-boot system, and, as the ADSL works under WinXP, I've

extracted
> from it the following parameters.:
>
> 1.. Eth card IP (static): 10.200.1.1 (mask 255.0.0.0).
> 2.. Gateway 192.117.102.51
>
>
> I've set up these parameters in Linux yet I can't ping my modem (Response:
> destination host unreachable). My ISP claims the modem IP should be
> 192.168.1.1 but I can't ping to this IP either. Pinging to 192.117.102.51
> doesn't go through either.
>
>
>
>
>
> I'd appreciate your help.
>
>
>
> Thanks in advance.
>
>
>
> --------------------copy of ifconfig response---------------------------
>
> eth0 Link encap:Ethernet HWaddr 00:0D:87:06:16:80
> inet addr:10.200.1.1 Bcast:10.255.255.255 Mask:255.0.0.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:8 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:16 Base address:0xe800
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:94 errors:0 dropped:0 overruns:0 frame:0
> TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:6630 (6.4 Kb) TX bytes:6630 (6.4 Kb)
>
>
>
>
>
>
>
> ----------------------copy of route response----------------------------
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default 10.200.1.1 0.0.0.0 UG 0 0 0 eth0
>
>
>
>
>
> Note: Originally there was not a default in my route. I've added it trying
> to solve my problem.
>
>
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Problem Chuck Smith Network Routers 0 06-01-2008 09:02 PM
routing problem? Hans Mugge Network Routers 7 06-26-2005 10:41 AM
routing problem Mike Ryan Windows Networking 5 05-12-2005 06:56 PM
Routing problem John Linux Networking 0 08-05-2004 07:03 PM
routing problem Dodo Windows Networking 6 06-28-2004 02:02 PM



1 2 3 4 5 6 7 8 9 10 11