Re: Routing public IP's through a gateway

Linux Advanced Routing and Traffic Control

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

 



On Sun, Oct 14, 2007 at 11:07:10PM +1000, Tim Groeneveld wrote:
> Greeting all,
> 
> I have a bit of a complicated question.
> 
> I have two ethernet devices, eth1 and eth2.
> 
> eth1 is where my internet comes from. It is in the form of 202.172.122.208/29. 
> It has another IP range, 202.172.122.72/29. What I want to be able to do is 
> route 202.172.122.72/29 to eth2, so that other machines can use those IPs, 
> any ideas on how to do this, I cannot work out how to do this.
You haven't made it too clear what exactly you are trying to do, from what i 
gather this should work on your linux box


ip route add 202.172.122.72/29 dev eth2

Does your isp route 202.172.122.72/29 to you ?

> 
> eth2 has a DHCP server, which only gives out IPs 202.172.122.74 to 
> 202.172.122.76.
> 
> eth1 is basically just hooked into my internet router, while eth2 is hooked 
> into a switch, and will be used for other computers.
> 
> If anyone could help me with this setup, I would more then appreciate it.
> 
> Thank you very much,
> 
>      - Tim Groeneveld
> 
> --
> 
> Need hosting for your next Open Source project? why not try ShareSource? 
> www.sharesource.org



> _______________________________________________
> LARTC mailing list
> LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux