Ping and LAN Problem

NoOp glgxg at sbcglobal.net
Tue Aug 14 16:58:01 UTC 2007


On 08/13/2007 11:46 PM, das ??? wrote:
> On Mon, 2007-08-13 at 13:23 -0700, NoOp wrote:
>> Can you repost your new ifconfig?
>> 
> 
> Yes, and the output is quite interesting. The broadcast misreport of
> 192.168.1.255 is still there for eth0, while the correct one should be
> 192.168.0.255, and the netmask 255.255.255.0, for the LAN connection
> between my desktop and laptop. And believe me, I never changed anything
> there, my knowledge of these things being so aggressively inadequate. I
> am pasting it:
> 
> <<<
> dd at mahammad:~$ ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:A1:B0:09:0C:8F  
>           inet addr:192.168.0.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::2a1:b0ff:fe09:c8f/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1893135 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4516322 errors:0 dropped:0 overruns:3 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:137517677 (131.1 MiB)  TX bytes:2256357618 (2.1 GiB)
>           Interrupt:17 Base address:0x4e00 
> 
> eth2      Link encap:Ethernet  HWaddr 00:E0:7D:89:F6:2F  
>           inet addr:192.168.1.40  Bcast:192.168.1.255
> Mask:255.255.255.0
>           inet6 addr: fe80::2e0:7dff:fe89:f62f/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:240230 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:214419 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:347238615 (331.1 MiB)  TX bytes:15419967 (14.7 MiB)
>           Interrupt:16 Base address:0x2f00 
> 
> 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:88 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:34632 (33.8 KiB)  TX bytes:34632 (33.8 KiB)
> 
>>>>
> 
> 

Can you post the outout of:

sudo iptables -L OUTBOUND
sudo iptables -L INPUT
sudo iptables -L OUTPUT

Also, a suggestion: you might want to change eth0 to something other
than 192.168.0.1 - 192.168.0.1 typically is used for many DSL routers as
their default. Yours may be different of course, but perhaps putting it
on 192.168.1.x might help.







More information about the ubuntu-users mailing list