Re: IP_ALIAS problem
"Kent Andersen" <kent1@gbasin.net> writes:
> Does anyone know the "trick" to get ip_alias to work on debian?
> The how-to seems pretty simple, compile kernel, make modules ,install
> modules and kernel, (easy... Not!!)
> when I do a ifconfig eth0:1 the system returns no sutch device and modprobe
> of ip alias tells me register_net_ip_alias is unrecognized version. I am
> at my wits end here folks.
I just recompiled and reinstalled my kernel (2.0.33) with IP aliases
enabled, using kernel-package. It seems to be working fine after I
did a "depmod -a" to update module dependencies.
psyche# depmod -a
psyche# modprobe ip_alias
psyche# lsmod
Module Pages Used by
ip_alias 1 0
cs89x0 3 1 (autoclean)
ppp 5 0
slhc 2 [ppp] 0
psaux 1 1
psyche# ifconfig eth0:0 192.168.117.201
psyche# route add -host 192.168.117.201 eth0:0
psyche# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.117.201 * 255.255.255.255 UH 0 0 0 eth0:0
localnet * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 2 lo
[etc.]
I don't actually have any other computers on the network ATM to test
it properly.
Did you use kernel-package to recompile and install? Can you try
running "depmod -a"?
--
Carey Evans http://home.clear.net.nz/pages/c.evans/
GNU GPL: "The Source will be with you... always."
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: