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

ifconfig, ipaliased interface question



Hello,

I am finding a problem with my system in the interaction
between ifconfig and ipmasq, (enumerate-if specifically).

System configuration-
Debian 2.1, (mostly)
Kernel 2.2.1
eth0,   internal 192.168.1.1
eth1,   external 206.xxx.xxx.xxx
eth1:0, internal 192.168.2.1

Problem, (feature?)
When ipmasq calls enumerate-if, eth1:0 is not returned as
an interface.  This means ipchains rules are not run for
eth1:0.  I have verified this manually by calling both
ifconfig and enumerate-if.  The only way I can find to see
information on eth1:0, is to pass eth1:0 into ifconfig.

I do not see a way to call ifconfig which will return ALL up
interfaces.

My workaround is to call ipmasq and then to manually call
ipchains with the required settings.

I do not know enough about ifconfig, but could this be a bug?

I am open to other, (better?), workarounds if anyone else has
had this same experience.

Thanks,
--
Bill Bell


-----------------------------------------------------
This mail sent through IMP: http://web.horde.org/imp/


Reply to: