Date: Mon, 26 Feb 2001 15:04:40 +0200 (EET) From: Juha Lindstrom <juha@toolbox.yok.utu.fi> To: freebsd-net@freebsd.org Subject: gateway/proxy arp Message-ID: <Pine.BSF.4.21.0102261452190.6716-100000@toolbox.yok.utu.fi>
next in thread | raw e-mail | index | archive | help
Hi! I have a somewhat tricky situation with a gateway/proxy arp setup. Let me quickly tell you some backgrounds: 1) I'm connected to internet via university LAN 2) university only allows one MAC address to communicate with the outside world at a time, thus I can not use a HUB 3) I have 2 real IP addresses which I want to assing to 2 different computers, one for fbsd and one for windows Ok, I'm new to fbsd but I have used slackware linux earlier and managed to get this system to work in the following way: 1) setup eth0 to communicate with outside world using DHCP to get the necessary info 2) ifconfig eth1 (=interface to connect with windows) 192.168.1.1 up 3) arp -i eth0 -s <windows IP> <windows machine MAC> pub 4) route add <windows IP> metric 1 dev eth1 Now, I managed to get those commands to work with fbsd with one exception - the ARP comman. Seems that fbsd doesn't allow me to specify the interface like it does in the linux implemation. And this results in windows discovering another computer using it's MAC address and then shutting down network. So, the question is - how would I accomplish this in fbsd? Please, give as detailed information as you possibly can since I'm new to fbsd. Thank you in advance Juha 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?Pine.BSF.4.21.0102261452190.6716-100000>