Date: Mon, 27 Apr 1998 20:12:28 -0500 From: "joe" <joe@thebestisp.com> To: <freebsd-isp@FreeBSD.ORG> Subject: Aliasing.. Message-ID: <000301bd7242$b6556660$027462d1@speed.thebestisp.com>
next in thread | raw e-mail | index | archive | help
Hi all,
I am wondering if anyone can tell me the "RIGHT" way to set up aliases on a
nic what we have is a C that is for our internal machines and the top 128
IP's will be for vservers on 2 machines now what would be the correct config
for the virtual servers ie alias all the ip's to fxp0(the nic card) or to
lo0 and use routed? or something totall different? also I would like to
leave the subnet 255.255.255.0 so the router doesn't have to deal with every
packet between the internal machines and the two vserver hosts. any ideas??
Thanks.
also something of interest I noticed on another server.. not quite sure how
it works but some of the IP's on lo1 and lo2 seem to have virtual web
servers on them and doing a traceroute leads me to this server so I assume
that it is the actual machine answering the requests. any ideas on how this
is set up? I have tried just adding lo1 and setting the IP and subnet and
routing between lo1 and fxp0 but I can not figure out how to bind an address
that is not configured on an interface although they seem to be doing it..
any ideas?? thanks again..
shell2: {1} ifconfig -a
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 206.184.139.133 netmask 0xffffff80 broadcast 206.184.139.255
ether 00:00:c0:37:41:c6
media: 100baseTX status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 206.184.236.0 netmask 0xfffffc00
lo2: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 209.24.10.0 netmask 0xfffffe00
shell2: {1} netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default core1-fe8-1-0.mv.b UGSc 351 157927 de0
localhost localhost UH 16 8746133 lo0
206.184.139.128/25 link#1 UC 0 0
core1-fe8-1-0.mv.b 0:60:2f:9e:12:8 UHLW 351 0 de0
472
flea.best.net 0:0:c0:db:7c:e4 UHLW 3 138085 de0
472
206.184.139.255 ff:ff:ff:ff:ff:ff UHLWb 0 2 de0
206.184.236.0 206.184.236.0 UH 0 0 lo1
209.24.10.0 209.24.10.0 UH 0 0 lo2
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301bd7242$b6556660$027462d1>
