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

Re: iptables/Nat question



On Sun, Jul 04, 2004 at 11:58:28PM -0700, Redhat Enterprise wrote:

> What i thought was to have a virtual interface and
> bind the other internet routable address to it, ex
> eth0:0. What are my options?

You have to use proxy arp for that, not virtual interfaces:

/sbin/arp -i eth0 -s 64.24.12.45 <mac-of-eth0> pub
/sbin/arp -i eth0 -s 64.24.12.46 <mac-of-eth0> pub

/sbin/arp -i eth1 -s 64.24.12.XX <mac-of-eth1> pub

(The last is a proxy arp entry for the gateway, that you want to
 use as a default gateway on the 45/46 machines.)

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204



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