Re: need help in diagnosing network problem
- From: Will Parsons <oudeis@xxxxxxxxxxxxxxxx>
- Date: 27 May 2007 20:53:25 GMT
Russell Wood wrote:
On 2007-05-18, Will Parsons <oudeis@xxxxxxxxxxxxxxxx> wrote:Thanks for your reply, but I don't think the lack of a default route
After a power failure I lost my ADSL internet access. The immediate
problem was apparently that the ADSL modem was damaged by the power
fail, but even after replacing the modem, I still was unable to restore
network connectivity to the machine previously connected to the modem,
but am able to using a laptop (both machines running FreeBSD, 6.1 & 5.4).
Attempting to narrow the problem down, I now have machines A (desktop),
B (laptop), and the modem all connected to an Ethernet hub, with B able
to talk to the network but A unable.
...
On machine A:
...
isis# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
127.0.0.1 127.0.0.1 UH 0 12 lo0
192.168.1 link#1 UC 0 0 xl0
192.168.1.3 link#1 UHLW 1 10 xl0
...
On machine B:
...
nephthys% netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
0 link#5 UC 0 0 ndis0 =>
default 204.213.179.30 UGS 0 4302 tun0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.1 link#2 UC 0 0 sis0
192.168.1.2 00:10:5a:02:0f:14 UHLW 0 0 sis0 863
204.213.179.30 65.113.125.202 UH 1 0 tun0
Machine A doesn't have a default route whilst Machine B does (even
though it's an external router?).
Set both machines to have their default route set to your modem's IP
(I'm assuming 192.168.1.1). To do this, in each hosts /etc/rc.conf file:
defaultrouter="192.168.1.1"
should matter. To clarify, B gets the address 204.213.179.30 from the ISP
via DHCP. (There is no 192.168.1.1.) I assign both machines static local
addresses 192.168.1.*. I *should* be able to ping B from A via the local
network without going thru the ISP or using the default route. The arp
output seems to indicate that there is some low-level connectivity between
the two machines, but not enough for a ping to succeed.
- Will
.
- References:
- need help in diagnosing network problem
- From: Will Parsons
- Re: need help in diagnosing network problem
- From: Russell Wood
- need help in diagnosing network problem
- Prev by Date: Re: Strange RAID1 message
- Next by Date: Re: From a newbee: Time and sound?
- Previous by thread: Re: need help in diagnosing network problem
- Next by thread: Re: need help in diagnosing network problem
- Index(es):
Relevant Pages
|