Re: static routing

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


	Hello Brian ,

On Fri, 28 Jul 2000, Brian Klug wrote:
> Hi.  Hope someone can help me with some route command examples.
> 1. I have four IP's assigned to my DSL modem, which has a 10BaseT
> connection.
> 2. I have several computers plugged into my 100BaseT hub.
> I have a Linux box with 2 network cards - one 10BT card for the DSL
> modem, and one 100BT card for my local LAN.  I am currently doing IP
> MASQ and it works well.

> My question:  I am only using one IP from the modem to my 10BT card -
> how can I assign/route/transfer/tunnel the other three IPs to the other
> pcs on the local net?
	I know there isn't a way to route them using present technology .
	The CableModem wants to see an actual Mac-Address in one of its
	ports in order to forward traffic bound to the IP+Mac pair .
	I have even tried using the same mac-address ,  which of course
	failed miserably .  I beleive (I'd have to check specs) that each
	port on the CableModem must see a unique Mac-Address in order to
	assign the IP to it .

> If my DSL modem had a 100BT connection, I could just plug that into the
> hub, and assign the three IPs directly to the machines.  But that is not
> the case -- I will have to do some strange routing though my Linux box.
> Is it possible to say something like
	Now There 'Might' be a way to cheat using one box but multiple
	ether port with unique mac-addresses .  Ie: insert 4 nic cards
	into your router/nat machine & then connect all four to the
	cablemodem & then do the following .

> to Linux: "Any connections coming in on those three IPs,
> 64.50.146.19,64.50.146.20,64.50.146.21, please route that to
> 192.168.1.2, 192.168.1.3, and 192.168.1.4, respectively."
> to windows 98 box (192.168.1.2):  "Please pretend you are 64.50.146.19,
> you will get this through 192.168.1.1).
> to windows 98 box (192.168.1.3):  "Please pretend you are 64.50.146.20,
> you will get this through 192.168.1.1). 
> to windows 98 box (192.168.1.4):  "Please pretend you are 64.50.146.21,
> you will get this through 192.168.1.1).

> So this is purely a routing issue.  I can't just plug everything into my
> 10/100 hub.  That would be to easy.  I want to do this without any extra
> hardware, too.
	Not -JUST- a routing issue as the CableModem has hardware issues
	and must see an uniques mac-address in each port in order to
	assign an IP address to it .

		Hope this healp ,  JimL
       +----------------------------------------------------------------+
       | James   W.   Laferriere | System  Techniques | Give me VMS     |
       | Network        Engineer | 25416      22nd So |  Give me Linux  |
       | babydr@baby-dragons.com | DesMoines WA 98198 |   only  on  AXP |
       +----------------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i

iQA/AwUBOYG6NNbsrYDRJjJBEQJo6QCdHSiCeL9TJTlSHzQ6F68TorIXwyoAnRo9
6BoUs1x0qHLkyw7T0/1URJ9X
=zlDM
-----END PGP SIGNATURE-----
 

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux