On 2004-08-13, /dev/null <(E-Mail Removed)> wrote:
> I'm trying to make the best of a bad deal. I've been given a contiguous
> range of public IPs that don't exactly fit into one subnet. The IPs are
> .91 - .101
>
> I want to set a firewall up in front of this range and don't mind losing one
> public IP for the firewall's external NIC. But I really don't want to waste
> an IP on the firewall's internal NIC.
>
> [snipped]
>
> I see something like this with my ISP where the cable modems have 10.x
> addresses, yet there are public IPs on both sides of the modem.
>
I'm a 'bad' person and do some voodoo tricks on my routing table to recover
'lost' IP's which local machines are determined to think are the
network/broadcast addresses. I posted online all the details so I'll simply
throw you the URL
http://bbs.adslguide.org.uk/showthre...=&view=&sb=&o=
http://bbs.adslguide.org.uk/showthre...=&view=&sb=&o=
The ideas there can be used in your situation, you have to just think
carefully about what you are borrowing 'nextdoor'. As a hint, as most
braindead remote firewall admins think having .0 and .255 as an IP address is
a bad thing (useless excuses about Smuff attacks or something defunct) no one
dishes out these IP's as half the Internet is unobtainable with them.

However in your situation you can 'borrow' an entire /24 and then tweak the
routing table with proxy_arp including to make sure traffic ends up in the
right place.
Have fun
Alex