[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem setting up a local network



Ron Johnson wrote:
On Wed, 2003-01-15 at 00:14, Tommaso Moroni wrote:

Hugh Saunders wrote:

"a" is 192.168.1.2 which is on another subnet to "B" which appears to be
on 192.168.100.1 ??
is B's IPaddr 192.168.1.1 or 192.168.100.1??

That's a difficult question, because actually I've never understood what happens with the ADSL drivers I use! Anyway, when I connect to internet with B I get a ppp0 interface (the ADSL modem is USB so no ethernet interfaces used) and the routing table setted up as I wrote. Actually I don't know where 192.168.100.1 IPaddr, I only know that it appears also when I do "ifconfig":


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

ppp0      Link encap:Point-to-Point Protocol
inet addr:80.116.138.85 P-t-P:192.168.100.1 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:417 (417.0 b)  TX bytes:180 (180.0 b)


The 192.168.1.1 IPaddr should be the address of B in the local network I'd like to install.

I hope to have been clearer!


If ppp0 is used to connect to the ADSL modem, where is the eth0
used to connect to B?

That's my fault! eth0 wasn't up when I did "ifconfig". Here's the output with eth0:

eth0      Link encap:Ethernet  HWaddr 00:60:97:CA:2F:41
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING 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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0xd000

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

ppp0      Link encap:Point-to-Point Protocol
inet addr:80.116.139.226 P-t-P:192.168.100.1 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:41 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2432 (2.3 KiB)  TX bytes:1442 (1.4 KiB)


Can you attach /etc/network/interfaces, and the output from lspci
and lsmod?  (Presuming that your ethernet driver is in a module,
and not built-in.)


abulafia:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

auto lo
iface lo inet loopback

iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255


abulafia:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4) 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
00:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 11)
00:04.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30) 00:09.0 Multimedia video controller: 3Dfx Interactive, Inc. Voodoo 2 (rev 02)
00:0b.0 Ethernet controller: 3Com Corporation 3c900 Combo [Boomerang]
00:0e.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G100 [Productiva] AGP (rev 02)



abulafia:~# lsmod
Module                  Size  Used by    Not tainted
ppp_synctty             5248   1  (autoclean)
ppp_generic            18592   3  (autoclean) [ppp_synctty]
slhc                    4400   0  (autoclean) [ppp_generic]
usb-uhci               22156   0  (unused)
usbcore                55808   1  [usb-uhci]
apm                     9000   2  (autoclean)
ipt_state                632  80  (autoclean)
ipt_REJECT              2872   4  (autoclean)
ipt_limit               1080   6  (autoclean)
ipt_LOG                 3288   6  (autoclean)
ip_conntrack_ftp        3920   0  (unused)
ip_conntrack_irc        3184   0  (unused)
ip_conntrack 18304 3 [ipt_state ip_conntrack_ftp ip_conntrack_irc]
iptable_filter          1732   1  (autoclean)
ip_tables 10552 5 [ipt_state ipt_REJECT ipt_limit ipt_LOG iptable_filter]
nls_cp437               4348   4  (autoclean)
vfat                    9420   2  (autoclean)
fat                    30008   0  (autoclean) [vfat]
n_hdlc                  6048   1
3c59x                  25328   1
rtc                     6428   0  (autoclean)


Here you are. I hope it will help finding out the problem!


Thanks again

Tommaso



Reply to: