Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 15:58:00 -0400
From:      Andrea Bacchet <baccheta@cae.com>
To:        "'Ruben de Groot'" <fbsd-q@bzerk.org>
Cc:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Jail single ip network (FreeBSD 4.5)
Message-ID:  <8A6A2A139700D5118EB6009027B0FF3A0B7FDFD2@caemsx02.cae.ca>

next in thread | raw e-mail | index | archive | help
Greetings Ruben,

	I had changed that netmask earlier today,
after having read through the IP Aliasing tutorial.
In which it mentions:

	"Route is used to manually make changes to the kernel
routing table... if you set your netmask to 255.255.255.255, 
you can skip this step"

	So I tried it, and it didn't change anything in the
behavior of my problem. But I now understand what they meant
in the tutorial, both their addresses (host and jail) were
in the same subnet, just as you indicated in your message!

	However, my problem is still a mystery!

	thanks for the info!

	__
	Andy

-----Original Message-----
From: Ruben de Groot [mailto:fbsd-q@bzerk.org]
Sent: Monday, June 10, 2002 3:45 PM
To: Andrea Bacchet
Cc: 'freebsd-questions@FreeBSD.ORG'; 'grimm@planetquake.com'
Subject: Re: Jail single ip network (FreeBSD 4.5)


On Mon, Jun 10, 2002 at 01:08:27PM -0400, Andrea Bacchet typed:
> Greetings,
> 

Hi,
I dont't know if this is related to your problem, but

<SNIP>

> I then created the network alias, here is the output from ifconfig:
> 
>    xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	options=3<rxcsum,txcsum>
> 	inet 142.39.88.238 netmask 0xffffff00 broadcast 142.39.88.255
> 	inet6 fe80::2c0:4fff:fea0:86fa%xl0 prefixlen 64 scopeid 0x1 
> 	inet 192.168.200.13 netmask 0xffffffff broadcast 192.168.200.13
                                      ^^^^^^^^
Normally you would use such a netmask if your alias IP address is 
in the same subnet as your primary IP address. Since they are in 
unrelated networks you probably want to use a netmask of 255.255.255.0
here. 

Ruben

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?8A6A2A139700D5118EB6009027B0FF3A0B7FDFD2>