Re: problems with PowerBook G4

Nicholas S-A <[email protected]>
Newsgroups gmane.linux.gentoo.ppc
Message-ID <[email protected]>
Yes, it turns out that is the problem! The router somehow got 
misconfigured as 0.0.0.0 instead of 10.0.1.1.
here is ifconfig:
bond0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
           BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

dummy0    Link encap:Ethernet  HWaddr 86:DB:59:06:1D:3C
           BROADCAST NOARP  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:03:93:80:24:F2
           inet addr:10.0.1.200  Bcast:10.255.255.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:17 errors:0 dropped:0 overruns:0 frame:0
           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:1374 (1.3 Kb)  TX bytes:1174 (1.1 Kb)
           Interrupt:41 Base address:0x7400

eth1      Link encap:Ethernet  HWaddr 00:30:65:16:B7:DD
           inet addr:10.0.1.12  Bcast:10.255.255.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:22 errors:0 dropped:0 overruns:0 frame:0
           TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:1910 (1.8 Kb)  TX bytes:3002 (2.9 Kb)
           Interrupt:57

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:4 errors:0 dropped:0 overruns:0 frame:0
           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)

and route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  
irtt Iface
10.0.1.0        *               255.255.255.0   U         0 0          
0 eth0
10.0.1.0        *               255.255.255.0   U         0 0          
0 eth1
loopback        localhost       255.0.0.0       UG        0 0          
0 lo

Is the right command to use 10.0.1.1 as a router (for both eth1 and 
eth0) 'route add default gw 10.0.1.1'? Or is it something else? That is 
what I got from manning route, but I don't what to mess anything up by 
having conflicting IP addresses.
thanks
nick
On Sep 22, 2005, at 4:29 AM, Matti Bickel wrote:

> Nicholas S-A <[email protected]> wrote:
>> The output is actually this error from 'man connect':
>> [ENETUNREACH]      The network isn't reachable from this host.
>
> Since you can reach your router: have you checked *which* interface
> reaches the router?
> What's the output of route -n?
>
> Sorry, just a wild guess.
> Matti
> -- 

-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.