Re: [newbie] Suddenly can't access internet.. DHCP problem?

2004-01-28 Thread Bryan Phinney
On Tuesday 27 January 2004 08:44 pm, [EMAIL PROTECTED] wrote:

> I swapped back to the old router for a while.
>
> And yes I am using routable addresses, my ISP gives me a chunk of them.

My guess about tmdns is based on the fact that you are using routable 
addresses.  That is not normal.  It is definitely not normal for an ADSL 
router.  It also may cause additional problems.  I am not a networking guru 
by any means, but if you run a DHCP server that assigns routable addresses, 
you must also couple this with routing tables and DNS entries that get 
updated for the target machine.  If you have a single connection (ADSL) to 
the ISP, I don't think that it is possible to have multiple routable IP 
addresses that all go through that single LAN connection without some kind of 
central router device to perform NAT.  Normally, an ADSL router is not 
authoritative for a DNS server, so assignments from your ADSL router do NOT 
get updated into the DNS tables/routers of your ISP's network.

This understanding is based on the idea that you have a single MAC address for 
your router and a single LAN connection (ADSL).  Thus all network traffic to 
your ISP and Internet appears to be coming from a single network device.  
Normally, the ADSL router assigns internal addresses to separate devices and 
routes the packets back to the individual originating devices.  In your case, 
the address is routable, which means that ISP DNS is responsible for sending 
the packets back to the device which is different than the ADSL router that 
made the original request.  So, your ADSL router sends a packet request and 
the return packets get routed back to whereever authoritative DNS says that 
IP sits rather than back to the ADSL router.

Normal path like this:

Machine1
\   
  <-->  ADSL Router <--> ISP  <-->  Internet
/
Machine2

And follows the same return path back again.

With your setup, the path seems more like this:

Machine1   <--<--
   \ \
 --> ADSL Router  --> ISP --> Internet

where the return packet bypasses the ADSL Router and gets routed directly to 
Machine1 by the DNS of the ISP which is authoritative for routeable addresses 
on their network.

So, either I am missing something obvious about your setup or you have left me 
confused about what your network architecture really is.

> How do I disable tmdns?

service tmdns stop
chkconfig 2345 tmdns off

But see my note above.

I should suggest that you take a look at the current configuration settings 
for your working router device and try to replicate those settings over to 
the new device.  That might be the shortest route to get a working 
connection.  Your ISP may have an expected MAC address for the router that 
you need to clone to use the new router.
-- 
Bryan Phinney
Software Test Engineer


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Suddenly can't access internet.. DHCP problem?

2004-01-27 Thread Ronald J. Hall
On Tuesday 27 January 2004 08:44 pm, [EMAIL PROTECTED] wrote:

->And yes I am using routable addresses, my ISP gives me a chunk of them.
->How do I disable tmdns?
->
->--Azrael

There are a couple of ways:

You can use the Mandrake control center and uncheck it under services.

Use chkconfig and stop it from running.

Remove it altogether (urpme tmdns).

One of these should work for you. :-)

-- 

   /\
 Dark< >Lord
   \/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Suddenly can't access internet.. DHCP problem?

2004-01-27 Thread azrael
Bryan Phinney wrote:
On Tuesday 27 January 2004 06:52 pm, [EMAIL PROTECTED] wrote:


Just to add results of ifconfig:

eth0  Link encap:Ethernet  HWaddr 00:02:B3:4B:04:88
 inet addr:195.137.50.110  Bcast:195.137.50.111 
Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:108 errors:0 dropped:0 overruns:0 frame:0
 TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:100
 RX bytes:10995 (10.7 Kb)  TX bytes:10275 (10.0 Kb)
 Interrupt:9 Base address:0xf000


What kind of ADSL router are you running?  There are 3 IP ranges reserved for 
private networks

10.0.0.0 to 10.255.255.255 
172.16.0.0 to 172.31.255.255 
192.168.0.0 to 192.168.255.255

The address that you are showing above is not one of them.  It would appear 
that the IP address is a routeable IP address.  Normally an ADSL router would 
assign an IP within the private ranges specified above.  Your connection 
rates appear quite low, 10.7 kb, 10kb on an internal (I assume 100mbs/10mbs 
connection) versus the connect rates that I show below.

My guess, based upon looking at it is that you are getting your IP assigned, 
not by DHCP on the router but by tmdns with the zeroconf stuff in Mandrake 
Linux.  You might want to disable tmdns and retry your connection config.

My ifconfig:

eth0  Link encap:Ethernet  HWaddr 00:50:2C:06:99:CB
  inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:9409459 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8952324 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:2527859668 (2410.7 Mb)  TX bytes:721888267 (688.4 Mb)
I swapped back to the old router for a while.

And yes I am using routable addresses, my ISP gives me a chunk of them.
How do I disable tmdns?
--Azrael

   ("\''/").___..--'''"-._
   `0_ O  )   `-.  ( ).`-.__.`)
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' .'
((i).-''  ((i).'  (((.-'
Of all God's creatures there is only one that cannot be made the slave 
of the lash. That one is the cat. If man could be crossed with a cat it 
would improve man, but it would deteriorate the cat.

ICQ#52944566
Registered Linux User: 269002
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Suddenly can't access internet.. DHCP problem?

2004-01-27 Thread Bryan Phinney
On Tuesday 27 January 2004 06:52 pm, [EMAIL PROTECTED] wrote:

> Just to add results of ifconfig:
>
> eth0  Link encap:Ethernet  HWaddr 00:02:B3:4B:04:88
>   inet addr:195.137.50.110  Bcast:195.137.50.111 
> Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:108 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:100
>   RX bytes:10995 (10.7 Kb)  TX bytes:10275 (10.0 Kb)
>   Interrupt:9 Base address:0xf000

What kind of ADSL router are you running?  There are 3 IP ranges reserved for 
private networks

10.0.0.0 to 10.255.255.255 
172.16.0.0 to 172.31.255.255 
192.168.0.0 to 192.168.255.255

The address that you are showing above is not one of them.  It would appear 
that the IP address is a routeable IP address.  Normally an ADSL router would 
assign an IP within the private ranges specified above.  Your connection 
rates appear quite low, 10.7 kb, 10kb on an internal (I assume 100mbs/10mbs 
connection) versus the connect rates that I show below.

My guess, based upon looking at it is that you are getting your IP assigned, 
not by DHCP on the router but by tmdns with the zeroconf stuff in Mandrake 
Linux.  You might want to disable tmdns and retry your connection config.

My ifconfig:

eth0  Link encap:Ethernet  HWaddr 00:50:2C:06:99:CB
  inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:9409459 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8952324 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0
  RX bytes:2527859668 (2410.7 Mb)  TX bytes:721888267 (688.4 Mb)
-- 
Bryan Phinney
Software Test Engineer


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Suddenly can't access internet.. DHCP problem?

2004-01-27 Thread azrael
Quoting [EMAIL PROTECTED]:

> Hi, I bought a new adsl router today, and so unplugged the old one, plugged
> in
> the new one, set it all up via the web interface using a computer with WinXP
> on it.
> 
> Set the router to use DHCP, and a WinXP laptop and desktop both are happily
> using the internet.
> 
> Now.. to my Mandrake 9.2 machine.
> 
> Used drakconnect and tried to put in my settings.. and I just can not seem
> to
> get it on the internet. I have tried setting it to use dhcp, or with a
> static
> IP, to no avail.
> 
> Worse, I can now access my mandrake box via my windows pc.. so it does have
> an
> IP address.. but the mandrake box cannot access the internet, and the
> internet
> can not access the mandrake box.
> 
> Am I insane, or am I missing somehting obvious?
> 
> My settings:
> 
> gateway: xxx.yyy.50.104
> subnet:  255.255.255.248
> 
> The windows machines pick up the DNS automatically.. and I have tried this
> with
> mandrake, and by also manually setting the DNS.
> 
> Can anyone offer advise.. or slap me round the head for being stupid?
> 
> -- Azrael
> 

Just to add results of ifconfig:

eth0  Link encap:Ethernet  HWaddr 00:02:B3:4B:04:88
  inet addr:195.137.50.110  Bcast:195.137.50.111  Mask:255.255.255.248
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:108 errors:0 dropped:0 overruns:0 frame:0
  TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:10995 (10.7 Kb)  TX bytes:10275 (10.0 Kb)
  Interrupt:9 Base address:0xf000


I am not sure if the Bcast is correct. Should it not end with 255? If this is
the problem, how do I edit the Bcast?

thanks



- 
Everyone should have http://www.freedom2surf.net/ 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Suddenly can't access internet.. DHCP problem?

2004-01-27 Thread azrael
Hi, I bought a new adsl router today, and so unplugged the old one, plugged in
the new one, set it all up via the web interface using a computer with WinXP on it.

Set the router to use DHCP, and a WinXP laptop and desktop both are happily
using the internet.

Now.. to my Mandrake 9.2 machine.

Used drakconnect and tried to put in my settings.. and I just can not seem to
get it on the internet. I have tried setting it to use dhcp, or with a static
IP, to no avail.

Worse, I can now access my mandrake box via my windows pc.. so it does have an
IP address.. but the mandrake box cannot access the internet, and the internet
can not access the mandrake box.

Am I insane, or am I missing somehting obvious?

My settings:

gateway: xxx.yyy.50.104
subnet:  255.255.255.248

The windows machines pick up the DNS automatically.. and I have tried this with
mandrake, and by also manually setting the DNS.

Can anyone offer advise.. or slap me round the head for being stupid?

-- Azrael



- 
Everyone should have http://www.freedom2surf.net/ 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com