Help with a routing issue

Nelis Lamprecht nelis at 8ball.co.za
Wed May 26 03:14:50 PDT 2004


On Wed, 2004-05-26 at 10:55, Leon Botes wrote:
> I have a freebsd 4.7 box at a client.
> The box has an ip of 192.168.254.22
> The default gateway is 192.168.254.1 which is the inside interface of the
> gateway. The outside interface of the gateway is 196.25.37.18 and it also
> has an alias of 196.25.37.19.

Can you show us the routing on the server please rather than the client
? What is the subnet mask of the alias 196.25.37.19 ? It should have a
subnet of 255.255.255.255 as it's on the same network as 196.25.37.18.

Your /etc/rc.conf file should look something like this:

ifconfig_rl0="inet 196.25.37.18 netmask 255.255.255.0"
ifconfig_rl0_alias0="inet 196.25.37.19 netmask 255.255.255.255"

Your subnet in the above example may differ according to what block your
ISP has provided you.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040526/9b38f977/attachment.bin


More information about the freebsd-questions mailing list