Greg Lopp on Wed, 29 Mar 2000 13:47:46 -0500 (EST)


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

Re: [PLUG] debian install two nic


marc wrote:

> topology is 10 base t   eight port hub with NAT32 on NT with two nics to a cable modem

The following are attempts to draw what I think your topology is. At least one of them is
very wrong, if not both. They are best viewed with a fixed width font :


A)  +----------+
    |          |  192.168.0.??
    |Other box |::::::
    |          |     :
    +----------+     :
                   +---+               +----------+
    +----------+   | H |               |  Linux   |
    |          |   | U |:::::::::::eth1| Masq-Gate|eth1:::::::::::
    |Other box |:::| B |  192.168.0.22 |          |192.168.0.20  :
    |          |   |   |               +----------+              :
    +----------+   +---+                                         :
                     :                                           :
    +----------+     :                                      +---------+
    |          |     :                                      |  Cable  |
    |other box |::::::                                      |  Modem  |
    |          |  192.168.0.??                              +---------+
    +----------+                                                 :
                                                                 :
                                                              Internet

B)  +----------+
    |          |  192.168.0.??
    |Other box |::::::
    |          |     :
    +----------+     :
                   +---+:::::::::::eth0+----------+
    +----------+   | H |               |  Linux   |
    |          |   | U |:::::::::::eth1| Masq-Gate|
    |Other box |:::| B |               +----------+
    |          |   |   |
    +----------+   +---+:::::::        +---------+
                     :       ::::::::::|  Cable  |:::::::::Internet
    +----------+     :                 |  Modem  |
    |          |     :                 +---------+
    |other box |::::::
    |          |  192.168.0.??
    +----------+

Or maybe is it something else entirely....

>
> 3com diags say the card is ok
> I will do some hw swapping tonight
> eth0 pings and resolves names on internet
> eth1 192.168.0.22 can only be pinged from debian machine after
> ifconfig eth1 192.168.0.22 netmask 255.255.255.0 up
>
>      does this help you

No, just confuses me.   Lets try pictures.

>
> if I         ifconfig eth0 down        and then
> ifconfig eth0 192.168.0.20 netmask 255.255.255.0 up
> no other machine can ping 192.168.0.20 until reboot

I think that you can skip the reboot if you restart the inet service.  i.e. there is a
script in /etc/rc.d or /etc/rc/d/init.d (where ever debian puts startup scripts) named
inet that gets called during startup to launch the internet/TCP/IP daemons.  Try, as
root, did "etc/rc.d/inet restart" after you re-up eth0.


______________________________________________________________________
Philadelphia Linux Users Group       -       http://plug.nothinbut.net
Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
General Discussion   -   http://lists.nothinbut.net/mail/listinfo/plug