Can not set netmask on vr&rl devices

2011-01-16 Thread Mikle Krutov
Hello, misc! I've got trouble with network, as i can not change the netmask of both of my net-devices: vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address 00:16:ec:3a:12:1b I can not set netmask on it. rl0 at pci0 dev 9 function 0 "D-Link 530TX+" rev 0x10: irq 10, address 00:11

Re: Can not set netmask on vr&rl devices

2011-01-16 Thread Nick Holland
On 01/16/11 09:16, Mikle Krutov wrote: > Hello, misc! > I've got trouble with network, as i can not change the netmask of both > of my net-devices: ... > # ifconfig vr0 > vr0: flags=8843 mtu 1500 > <..> > inet 10.196.100.206 netmask 0xff00 broadcast 10.255.255.255 > <..> > # ifco

Re: Can not set netmask on vr&rl devices

2011-01-16 Thread Mikle Krutov
On Sun, Jan 16, 2011 at 10:05:26AM -0500, Nick Holland wrote: > Try using ifconfig like the examples at the bottom of the man page, it > will work just fine... > > # ifconfig vr0 inet 10.196.100.206 netmask 255.255.255.0 > > exactly why your syntax doesn't work, I didn't find in a quick glance at