[CLUE-Tech] Subnets

Brandon N bneill at yahoo.com
Sat Mar 10 18:28:45 MST 2001


just like you would a regular interface

/sbin/ifconfig eth1:0  ...
/sbin/route add ... dev eth1:0

--- Gary & Sheri Mauldin <gsmauldin at home.com> wrote:
> Thanks for the great feedback!
> 
> Where would I define the alias -eth1:0- ?
> 
> -----Original Message-----
> From: clue-tech-admin at clue.denver.co.us
> [mailto:clue-tech-admin at clue.denver.co.us]On Behalf Of Brandon N
> Sent: Saturday, March 10, 2001 8:36 AM
> To: clue-tech at clue.denver.co.us
> Subject: Re: [CLUE-Tech] Subnets
> 
> 
> Actually, I don't think you need three ethernet cards, you can do it
> with two (or even one, with loss of security)
> 
> I haven't done this yet, because I haven't got my computers set up
> after I moved.
> 
>                         Router
> DSL---------------------eth0
>                         eth1---------------192.168.0.0/24
>                         eth1:0-------------206.124.13.64/24
> 
> There is more about IP aliasing at
> http://www.linuxdoc.org/HOWTO/mini/IP-Alias/
> 
> Here is the IP Masq HOWTO
> http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html
> 
> There are lots of other good HOWTO's at www.linuxdoc.org
> --- ian <iguy at ionsphere.org> wrote:
> > So you have a couple of boxes that you want to have full access to
> > the
> > internet?  Basically.. you have 3 sets of boxes.. 
> > A, B & C
> > 
> > A = 1 Box - The router / NAT / DHCP 
> > B = NATted boxes which exist on a private network
> > C = Boxes that are part of the internet
> > 
> > It goes like this.. Internet -> A -> B & C
> > 
> > You can use your Firewall/Router server to handle both.  
> > What you need to do is as follows:
> > 
> > 1)  Set up your Subnet B as Masqurading through the firewall/A
> > 2)  Setup your Machine IPs (as these are defined by your ISP) to
> > route through A
> > 
> > To do this you need to have a seperate ethernet card for each
> subnet
> > so A will have to have
> > 3 ethernet cards.
> > 
> > There is a ton of info out there on routing, MASQ (masquarading)
> and
> > Firewall configuration.
> > Just look for the Linux Documentation Project and you'll be all
> set.
> > 
> > Granted this doesn't tell you line for line how to do it.  Its not
> > easy.. Just straight forward
> > step by step.
> > 
> > ian
> > 
> > 
> > On Fri, Mar 09, 2001 at 06:17:43PM -0700, Gary & Sheri Mauldin
> wrote:
> > > I have a firewall/DNS/DHCP server set up (Share The Net).
> > > 
> > > I have a current LAN/WAN 206.124.13.64/24 from my ISP.
> > > 
> > > I want some of my PC's to do go through NAT/DHCP and others to be
> > able to
> > > have assigned IP's in the above mentioned subnet.
> > > 
> > > I am connected to the internet through a DSL router.
> > > 
> > > The Ip's that are NAT/DHCP need to be able to telnet to an
> assigned
> > IP in
> > > the above mentioned subnet.
> > > 
> > > How can I do this?  Would I need an additional ROUTER to connect
> > two
> > > different subnets?  Where can I get a quick education on IP
> > subnets?
> > > 
> > > 
> > > 
> > > Gary Mauldin
> > > (newbie)
> > > 
> > > _______________________________________________
> > > CLUE-Tech mailing list
> > > CLUE-Tech at clue.denver.co.us
> > > http://clue.denver.co.us/mailman/listinfo/clue-tech
> > _______________________________________________
> > CLUE-Tech mailing list
> > CLUE-Tech at clue.denver.co.us
> > http://clue.denver.co.us/mailman/listinfo/clue-tech
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



More information about the clue-tech mailing list