[Shorewall-newbies] ip aliases

Wahid Belhaouane wahid at meteo.tn
Wed Mar 3 07:10:21 PST 2004


Hi.
I installed shorewall , wonderful , everything is ok.
just i want to understand how to do something:
i have in my local network 3 networks on the same interface eth1 (eth0
is the external interface)
a: 192.168.54.0/24
b: 10.90.10.0/24
c: 172.20.90.0/24
192.168.54.250 and 10.90.10.250 and 172.20.90.250 are gateways for other

computers.
i executed the commands:
ip addr add 10.90.10.250/24 brd 10.90.10.255 dev eth1 label eth1:0
ip addr 172.20.90.250/24 brd 172.20.90.255 dev eth1 label eth1:1
and edit the file hosts as:
loc    eth1:192.168.54.0/24
loc    eth1:10.90.10.0/24
loc   eth1:172.20.90.0/24
and edit the file interfaces as:
<space>  eth1    192.168.54.255,10.90.10.255,172.20.90.255
(shorewall tells that the last line (interface file) is wrong: i don't
understand why) : 1 st question.
2 nd question : in witch startup file shall i put the "ip addr add...'
commands , i use redhat 8.0.
Thanks.
Wahid Belhaouane.




More information about the Shorewall-newbies mailing list