LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] "routing" through a single interface

[ILUG] "routing" through a single interface

Nick Murtagh nickm at go2.ie
Tue Sep 23 12:52:54 IST 2008


Gavin McCullagh wrote:
> I was hoping I could do this without dual-homing the linux machine and
> creating an extra subnet, ie that it could sit on the existing subnet, take
> incoming connections and route them back out the same interface to the real
> router.  Enabling ip_forward doesn't seem to do this though, presumably
> because there's only one interface?  Is there something I can change that
> this will work or is this not possible?

Have you tried adding a sub-interface to the same NIC? eg eth0:0

> I can dual home it if need be, but I'd rather not change the router's ip
> address (or that of the rest of the subnet), so the two interfaces would
> end up on the same subnet.  Is that crazy?  It seems like the routing table
> can be told which interface to route out via so that will work?

Presuming they have different IP addresses there's nothing crazy about
that.

-- 
Nick Murtagh <nickm at go2.ie>
go2web Ltd., Harbour House, Harbour Road, Howth, Dublin 13
http://www.go2.ie/ - Phone +353-(0)1-839-5432 - Fax +353-(0)1-839-5439
Registered in Ireland: No. 327376
Registered address: 53 Thormanby Lawns, Howth, Dublin 13



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell