[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: IP aliasing
Steven M. Bellovin wrote:
On Wed, 18 Jun 2008 16:57:01 +0100
Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
On Wed, Jun 18, 2008 at 10:00:10AM -0400, DAve wrote:
I have been told by my Network Administrator that we will be
changing IP blocks for several key services very soon. I have three
new DNS servers running NetBSD on the new IP block already. I also
have two legacy DNS servers (also on NetBSD) that I need to drag
along behind me for a few more months.
My new IP block is 65.124.104.X and my old IP block is
65.196.224.X. Is it possible to have a single machine answer for
both IPs on a single interface? The network Gods claim they can
route the traffic to me no problem, but I am unsure how to
configure the alias for the interface.
Old address: 22.214.171.124
New address: 126.96.36.199
Is it even possible to alias the old address with the new gateway?
ifconfig if0 inet 188.8.131.52 netmask 255.255.255.224
ifconfig if0 inet 184.108.40.206 netmask 255.255.255.0 alias
should do the trick? (replacing if0 with bge0 wm0 nfe0 or whatever
Your gateway is a specific router, so what is its ip number?
route change default 220.127.116.11
for the outbound traffic?
Right, but that can't coexist with the old setting; you can only have
one default route, I believe.
route delete default;route add default 18.104.22.168
I appreciate the response, it just doesn't look like it should work to
me. I will give the following a try.
ifconfig hme0 22.214.171.124 netmask 255.255.255.224
ifconfig hme0 alias 126.96.36.199 netmask 255.255.255.0
and remember to change my named.conf as well ;^)
Don't tell me I'm driving the cart!
Main Index |
Thread Index |