Subject: inet aliases and routed
To: None <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 08/16/2000 17:28:13
two parts to this...dilemma.
preamble (*everything* was built from anoncvs sources two days ago):
# uname -a
NetBSD ebola 1.5E NetBSD 1.5E (RESTON) #20: Tue Aug 15 13:59:24 EDT 2000 andrew@ebola:/usr/src/sys/arch/i386/compile/RESTON i386
# cat /usr/src/.updated
(1) what's the correct method for adding aliases via rc.d
configuration? what i've got now is:
# cat /etc/ifconfig.ex0
188.8.131.52 netmask 0xffffff00 media autoselect
but i've just noticed that i can't reach (ie, ping or telnet) the
alias from the machine itself. rc.d/network says:
# Note that $ifaliases_xxN works only with certain configurations and
# considered not recommended. Use /etc/ifconfig.xxN if possible.
so i figured i was doing "the right thing", but it doesn't seem to
work too goodly.
(2) i can change the route for the alias like this:
# route change 184.108.40.206 127.0.0.1
change host 220.127.116.11: gateway 127.0.0.1
but then when i start routed (with -q -d -t -t -t so that i can see
what it's doing), routed sets the route for 18.104.22.168 back to
22.214.171.124 which, of course, doesn't work in the first place.
i can't exactly upgrade...i'm only two days behind. :)
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."