Art Alexion on 4 Jan 2007 18:25:22 -0000


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

Re: [PLUG] binding specific NIC to multiple IPs


On Thursday 04 January 2007 11:59, Christopher Barry wrote:
> On Thu, 2006-12-14 at 12:17 -0500, Art Alexion wrote:
> > My problem is getting my clients set up to use eth1 and the assigned
> > IPs
> > instead of eth0 and the static IPs for peer to peer LAN connections.
>
> So, if I'm understanding your issue, you have two NICs in each box, but
> essentially you want all traffic - both outbound and LAN - to only go
> through the NICs that get their private IP addresses assigned by your
> router. Am I correct in this interpretation?

Yes.


>
> Assuming so, simply remove eth1 from both boxes (or disable them), and
> set the interface config for eth0 to be dhcp. You appear to have no need
> for 2 NICs in each machine.
>
> Now, if you are worried about name resolution between boxes, set each
> box to a static IP address on eth0, outside of the dhcp range on the
> router, but within the same subnet, 

OK.  So the router uses 192.168.1.x, subnet 255.255.255.0, and I can continue 
to use 192.168.01x (same subnet) for the lan?  But the router uses dhcp for 
internet traffic (e.g. the computer I am currently using is IP 192.168.0.3 
for the lan and 192.168.1.64 for the router (assigned by the router's dhcp).  
Would I need to configure the remaining NIC with two IPs?  Should I disable 
the router's DHCP server and configure it to use the existing lan IPs for 
internet connections?  Figuring out how to do that is where I am stuck.


> and set your hosts file on each box 
> to match these addresses.

That part I can do.

-- 

_____________________________________________________________
Art Alexion

PGP fingerprint: 52A4 B10C AA73 096F A661  92D2 3B65 8EAC ACC5 BA7A
Keyserver: hkp://subkeys.pgp.net
The attachment - signature.asc - is my electronic signature; no need for 
alarm.  Info @ 
http://mysite.verizon.net/art.alexion/encryption/signature.asc.what.html
_____________________________________________________________

Attachment: pgpsacjNuyie0.pgp
Description: PGP signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug