marc on Wed, 29 Mar 2000 16:37:48 -0500 (EST)


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

RE: [PLUG] debian install two nic


thanks for the init
top picture is what I want to do
I have that setup with NT now


the setup right now is  and all I want to do is ping .22

  |-------------------|                   |------------------------|
  | 192.168.0.10      |                   |eth0 192.168.0.20       |
  |     NT            |                   |eth1 192.168.0.22       |
  |                   |                   |   Debian 2.2  disk setup
  |                   |                   |    eth0        eth1    |
  |-------------------|                   |------------------------|
      |                                          |           |
      |                   |--------------|       |           |
      +-------------------|   HUB        |-------+           |
                          |              |-------------------+
                          |--------------|








-----Original Message-----
From: plug-admin@lists.nothinbut.net
[mailto:plug-admin@lists.nothinbut.net]On Behalf Of Greg Lopp
Sent: Wednesday, March 29, 2000 1:48 PM
To: plug@lists.nothinbut.net
Subject: 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


______________________________________________________________________
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