VE "route" command shows 191.255.255.1 [message #4897] |
Tue, 01 August 2006 21:39 |
John Kelly
Messages: 97 Registered: May 2006 Location: Palmetto State
|
Member |
|
|
Why?
daves:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
191.255.255.0 * 255.255.255.0 U 0 0 0 venet0
loopback * 255.0.0.0 U 0 0 0 lo
default 191.255.255.1 0.0.0.0 UG 0 0 0 venet0
rfc3330 says:
191.255.0.0/16 - This block, corresponding to the numerically highest to the former Class B addresses, was initially and is still reserved by the IANA. Given the present classless nature of the IP address space, the basis for the reservation no longer applies and addresses in this block are subject to future allocation to a Regional Internet Registry for assignment in the normal manner.
|
|
|
|
Re: VE "route" command shows 191.255.255.1 [message #4912 is a reply to message #4897] |
Wed, 02 August 2006 07:47 |
hvdkamer
Messages: 40 Registered: July 2006
|
Member |
|
|
For the same reason I changed the debian-add_ip.sh script to something more meaningful for my VEx's. In the distro-add_ip.sh script you see:
FAKEGATEWAY=192.168.13.1
FAKEGATEWAYNET=192.168.13.0
I've no idea why OpenVZ chooses the one it is now using. May be it has to change to something less harmful?
Henk van de Kamer
auteur Het Lab
http://www.hetlab.tk/
|
|
|
|
Re: VE "route" command shows 191.255.255.1 [message #4922 is a reply to message #4897] |
Wed, 02 August 2006 10:29 |
hvdkamer
Messages: 40 Registered: July 2006
|
Member |
|
|
I disagree. If IANA says it is going to reassign those IP-addresses, it is better to not use them anymore. For now the old situation is not a problem, but it will become one!
I recall a session with a computer user group. One visitor had problems to connect to its home computer. So we decided to tackle the problem. After a lot of investigation we discoverd that the helpdesk of his router had said that the IP-adresses 192.168.x.y where way to common and you shouldn't use them. Therfore he had picked one at random. So on this meeting we were actively hacking a computer which was own by a Swiss bank. Luckiley we weren't arrested
The moral of this story? Don't use IP-adresses which don't belong to you. Even if it is at this moment not used. It can change and funny problems can occur. So why risk that?
Henk van de Kamer
auteur Het Lab
http://www.hetlab.tk/
[Updated on: Wed, 02 August 2006 11:13] Report message to a moderator
|
|
|
|
|
|
|
Re: VE "route" command shows 191.255.255.1 [message #4929 is a reply to message #4928] |
Wed, 02 August 2006 18:00 |
Valmont
Messages: 225 Registered: September 2005
|
Senior Member |
|
|
I agree with it. 192.0.2.0/24 looks more preferable, rather than use local subnet's (192.168.0.0/16 / 172.16.0.0/12 / 10.0.0.0/8 ). To avoid of possible conflicts with already existing local subnet's.
|
|
|