Date: Sat, 13 Feb 1999 22:02:23 +0930 From: "Andrew Hodges" <ahodges@ozemail.com.au> To: <security@FreeBSD.ORG>, <stable@FreeBSD.ORG> Subject: Using Interface Aliases on FreeBSD with ipfw Message-ID: <001d01be574c$e992de00$0403000a@scooby.vk8ah.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, for purely availability reasons I am using on old DECpc 433W as a filtering Firewall with ipfw on 2.2.8. This sytem has only one ethernet interface and I have been using in with ppp through the serial port. I am putting ISDN in place and the TA I have has an ethernet interface. I am wondering if it would be feasible to use the same interface le0 with 2 ip addresses on different subnets using something like: ifconfig_le0_alias0="inet 139.100.1.1 netmask 255.255.255.0" ifconfig_le0_alias1="inet 192.168.2.1 netmask 255.255.255.0" and use rc.firewall with the same interface and natd. Is this possible? Are there any issues? Thanks Andrew ahodges@ozemail.com.au [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=text/html;charset=iso-8859-1 http-equiv=Content-Type> <META content='"MSHTML 4.72.3612.1700"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT color=#000000 size=2>Hi,</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>for purely availability reasons I am using on old DECpc 433W as a filtering Firewall with ipfw on</FONT></DIV> <DIV><FONT size=2>2.2.8. This sytem has only one ethernet interface and I have been using in with ppp through the</FONT></DIV> <DIV><FONT size=2>serial port. I am putting ISDN in place and the TA I have has an ethernet interface. </FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>I am wondering if it would be feasible to use the same interface le0 with 2 ip addresses on different</FONT></DIV> <DIV><FONT size=2>subnets using something like: </FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2> ifconfig_le0_alias0="inet 139.100.1.1 netmask 255.255.255.0"<BR> ifconfig_le0_alias1="inet 192.168.2.1 netmask 255.255.255.0"</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>and use rc.firewall with the same interface and natd.</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>Is this possible? Are there any issues?</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2>Thanks</FONT></DIV> <DIV><FONT size=2>Andrew</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2><A href="mailto:ahodges@ozemail.com.au">ahodges@ozemail.com.au</A></FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2></FONT> </DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01be574c$e992de00$0403000a>
