Date: Wed, 17 Jan 2001 04:35:31 -0500 From: melik bessaha <hbessaha@home.com> To: freebsd-net@freebsd.org Subject: REQ: HELP W/ IP ALIASING Message-ID: <3A656763.CC1FF016@home.com>
next in thread | raw e-mail | index | archive | help
Hello, I am attempting to alias my one physical NIC in my netfinity server. I am using IPFILTER and IPNAT to do this with a static IP on a cable subscription. I am trying to port the connection to one machine in the internal network. Can someone please paste in their rc.conf, ipf.conf, and ipnat.conf so that i can copy info. I cant seem to get things to work properly. I can ping on the server to an outside address, but my subnet machine cant ping out or anything. The IP strucutre is as follows: NIC ip - 24.228.40.14, alias host - 192.168.1.0 (the internal gateway), and 192.168.1..10(the second machine) what should the ifconfig command look like in rc.conf with this info? also, to redirect in ipnat, would the command look like this: map fxp0 192.168.1.0/24 -> 24.228.40.14/32 portmap tcp:udp 10000:60000 map fxp0 192.168.1.0/24 -> 24.228.40.14/32 is this right?? if 192.168.1.0 will act as my gateway for my second machine, what should be the host of the machine? im a bit confused with how aliasing works. ifconfig should look something like this: ifconfig fxp0 alias inet 192.168.1.0/24 route alias -host 192.168.1.0 127.0.0.1 0 is this correct? Thanks to anyone who helps...im really bad at this and want to learn. Many thanks, Mel 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?3A656763.CC1FF016>