Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 11:13:27 -0600
From:      Redmond Militante <r-militante@northwestern.edu>
To:        freebsd-questions@freebsd.org
Subject:   rc.conf syntax for ip alias on external nic
Message-ID:  <20030210171327.GA37804@darkpossum>

next in thread | raw e-mail | index | archive | help

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi

i have the following lines in my rc.conf, and i was wondering if my syntax was ok:

-------
#here, i'm setting the ip/subnet mask for outside nic interface for a dual homed gateway box
ifconfig_xl0="inet 129.x.x.35 netmask 255.255.255.0"

#declaring three network interfaces - outside nic interface for gateway, internal interface for private subnet, and loopback
network_interfaces="xl0 xl1 lo0"

#not sure about the following lines: trying to alias two public ip's to the outside nic interface for the gateway.  the gateway will use ipnat to nat these public ip's to two internal client machines hooked up to the internal interface - xl1- of the gateway box
ifconfig_xl0_alias0="inet 129.x.x.6 netmask 255.0.0.0"
ifconfig_xl0_alias1="inet 129.x.x.5 netmask 255.0.0.0"

#inside nic of gateway box
ifconfig_xl1="inet 192.168.1.1 netmask 255.0.0.0"
-------

i'm having trouble i think with the two aliases to the outside nic of the gateway.  it works fine when i have only one client hooked up to the gateway, but when i have both clients hooked up to the gateway through a hub, i have problems - mainly, i reboot both machines, and one machine usually freezes on reboot.

any advice would be really appreciated

thanks
redmond

--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+R922FNjun16SvHYRAqttAJ0do1+lA/H2GMYZHf9A3ZX1WWYJOgCdEIYR
a1ljDbyYfbqZEVDw3dlPhRo=
=byDm
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210171327.GA37804>