IP masq., multiple ethernet cards, DHCP and WINS

IP masq., multiple ethernet cards, DHCP and WINS

Post by CS/MATH stu » Tue, 01 Sep 1998 04:00:00



Hi,
  I'm about to begin a major undertaking. I have, at my university, a
single ethernet connection to connect my 3 computers to. So, I'm setting
up my PC with 3 ethernet cards, one to communicate with the network, and
the other two will connect directly to the two other computers in my
room via crossover ethernet cables. The PC with 3 cards in it will also
serve as a boot server to boot one of the connected computers (it's a
sun IPC) and shall also perform the duties of serving mail and FTP.
I've already got the bootserver stuff in place.

  Now for the tricky part: the network leases IPs on an hourly basis via
DHCP, and they use WINS for something that I'm not sure of.  To my
knowledge linux doesn't support these protocols.

  Anyone know where I can get at least DHCP support for linux? Or know
where I can get info/help on setting up the IP masquerading?  Thanks in
advance for the help.

 
 
 

IP masq., multiple ethernet cards, DHCP and WINS

Post by Ardru » Wed, 02 Sep 1998 04:00:00



Quote:

> Hi,
>   I'm about to begin a major undertaking. I have, at my university, a
> single ethernet connection to connect my 3 computers to. So, I'm setting
> up my PC with 3 ethernet cards, one to communicate with the network, and
> the other two will connect directly to the two other computers in my
> room via crossover ethernet cables. The PC with 3 cards in it will also
> serve as a boot server to boot one of the connected computers (it's a
> sun IPC) and shall also perform the duties of serving mail and FTP.
> I've already got the bootserver stuff in place.

>   Now for the tricky part: the network leases IPs on an hourly basis via
> DHCP, and they use WINS for something that I'm not sure of.  To my
> knowledge linux doesn't support these protocols.

>   Anyone know where I can get at least DHCP support for linux? Or know
> where I can get info/help on setting up the IP masquerading?  Thanks in
> advance for the help.

Check out the DHCP-HOWTO at
http://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/
It describes how to set up Linux as a DHCP client or server.
They (probably) use the WINS server for NetBios name resolution for
browsing the LAN. With use of Samba
(http://samba.anu.edu.au) you can act as a WINS server or just a SMB
client.
Masquerading is described in the IP-Masquerade HOWTO which can be found
at the above mentioned location.

Jordi

 
 
 

IP masq., multiple ethernet cards, DHCP and WINS

Post by Tom Perkin » Mon, 07 Sep 1998 04:00:00


Please note I'd recommend a local hub.  Hubs can be had for under $50.
Borrow one first to make sure there are no connectivity issues -- in
large networks there can be.

The gateway solution you propose has a problem.  DHCP will not function
across a gateway(router) without a relay on the gateway.  You'll have to
support DHCP relay or use NAT on the gateway for the other two nodes to
get IP addresses.

DHCP works using broadcasts.  Broadcasts normally stop a
routers/gateways.

Regards
Tom


> On Mon, 31 Aug 1998 09:39:00 -0500, "Daniel Lange (CS/MATH stud.)"

> >  I'm about to begin a major undertaking. I have, at my university, a
> >single ethernet connection to connect my 3 computers to. So, I'm setting
> >up my PC with 3 ethernet cards, one to communicate with the network, and
> >the other two will connect directly to the two other computers in my
> >room via crossover ethernet cables.

> It would be much easier if you put the other two machines on either a hub
> or a coax.  Not only would they be able to network with each other without
> going through the server, but you would only have to worry about
> configuring two networks cards in the server (one less IRQ, simpler
> firewall scripting, etc.).

> >  Now for the tricky part: the network leases IPs on an hourly basis via
> >DHCP, and they use WINS for something that I'm not sure of.  To my
> >knowledge linux doesn't support these protocols.

> Yes, it does.  There are packages to allow Linux to act as either a DHCP
> server or client (I'm running both, one on each interface), and the Samba
> suite includes WINS support.  WINS is basically a type of DNS for Win95/NT
> machines using NETBIOS names instead of domain names.  It is included in
> Samba because Samba provides Win95/98/NT networking services such as print
> and file sharing.

> >  Anyone know where I can get at least DHCP support for linux? Or know
> >where I can get info/help on setting up the IP masquerading?  Thanks in
> >advance for the help.

> Everything you need to read is at:
> <ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO>

> The actual DHCP/Samba packages should be obtained from the www site
> serving your distribution of Linux, assuming you don't want to compile
> them yourself.

 
 
 

1. How can ethernet card get multiple IP from DHCP server ?

I've got linux 2.6 router with 2 ethernet cards. eth0 is connected to
internet provider that assigns IP numer from  DHCP server, eth1 is
connected to LAN.

provider gives me unlimited number of external IPs, when I'm
connecting devices.

I would like my linux server to get couple external IPs. So Eth0 shoud
have multiple MAC addresses. How can it be done ?

Seems like solvation is described here http://en.wikipedia.org/wiki/Proxy_ARP
(Taking multiple addresses from a LAN), but can anyone give me live
example ?

thanx in advance !

2. Building a Slackware 3.0 bootkernel disk?

3. Help: Mandriva 2005: Ethernet card won't get IP address from DHCP server

4. dead disk?

5. Help: Mandriva 2005 - Ethernet card won't get DHCP IP address

6. SMP on DualPPro with 2.0.29

7. Multiple Ethernet cards, DHCP

8. root not unmounted on halt

9. 2 ethernet cards for my IP MASQ server?

10. Setting up ethernet card with DHCP and automatic IP

11. IP Masq'd Workstation to connect to IP Masq'd Workstation

12. IP Masq - Specify IP to Masq as?

13. Multiple IP address for one ethernet card.