Date: Fri, 08 Nov 2002 03:45:41 +0000 From: krad <krad@krad.org.uk> To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: IP aliasing with ppp Message-ID: <E18A05V-000Axt-00@laurie.sux.org.uk>
next in thread | raw e-mail | index | archive | help
hi, I currently have a /29 assigned by my isp for my dsl. I have got my bsd box connecting fine and natd is working off one off the ips. I would like to bind the remaining 5 ips to the tun0 interface on the bsd box and enable static nating to certain boxes behind the firewall. I am however having problems as when I use ifconfig i get strange results e.g. tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500 inet 123.54.67.94 --> 65.4.32.1 netmask 0xffffff00 Opened by PID 6896 root on gateway# ifconfig tun0 alias inet 123.54.67.93 root on gateway# ifconfig tun0 tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500 inet 123.54.67.94 --> 65.4.32.1 netmask 0xffffff00 inet 192.168.0.254 --> 123.54.67.93. netmask 0xffffff00 Opened by PID 6896 root on gateway# im not sure whats going on here but it certainly isnt correct. I have also tried playing around with ifalias commands in ppp with no problems. Am I going about this in completely the wrong way or is my syntax wrong when using ifconfig. regards Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18A05V-000Axt-00>