Ticket #255 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Can't change IP range

Reported by: mailmesuf@gmail.com Assigned to: wbx
Priority: minor Milestone:
Component: brcm-2.4 Version: trunk
Keywords: change range Cc:

Description

I'm using an Asus 500gx (Deluxe) in my current network, 10.0.0.x, and when i want to change the ip range from 192 to 10 it becomes inaccessible. I have to reboot the router and connect to it from 192.168.1.1 again. Changing its ip address to 192.168.1.3 however works.

# cat /etc/network/interfaces
auto eth0.0
iface eth0.0 inet static
        address 10.0.0.5   
        netmask 255.255.255.0
        network 10.0.0.0    
        broadcast 10.0.0.255   
        gateway 10.0.0.1                       
        dns-namservers 10.0.0.1
        switch-ports 1 2 3 4 5*

/etc/init.d/S40network restart

I've created an image with wib.freewrt.org which works great except for the network, my image id: 111576F3BD0

Attachments

Change History

03/16/07 11:29:02 changed by wbx

  • owner changed from somebody to wbx.

Hi,

dns-namservers is not a correct key in interfaces. Please use /etc/resolv.conf for that.

May be this is the reason why it fails. Be sure you have no whitespaces at the end of any value.

03/16/07 12:23:57 changed by anonymous

Thanx for the fast replay, but still no go. Removed dns-namseservers key and removed the whitespaces.

cat /etc/network/interfaces
auto eth0.0
iface eth0.0 inet static
        address 10.0.0.1   
        netmask 255.255.255.0
        network 10.0.0.0
        broadcast +            
        switch-ports 1 2 3 4 5*

I had no network problems with OpenWRT but i switched to FreeWRT because it has better audio drivers. Is the IRC channel online because i'm not able to connect to #freewrt on freenode.net?

03/16/07 12:45:20 changed by anonymous

Ok, got it working now. Human error after all with a combination of whitespaces and useless keys, removed 'network 10.0.0.0'.

cat /etc/network/interfaces
auto eth0.0
iface eth0.0 inet static
        address 10.0.0.1   
        netmask 255.255.255.0
        broadcast +            
        switch-ports 1 2 3 4 5*

03/16/07 14:38:37 changed by wbx

  • status changed from new to closed.
  • resolution set to fixed.

Add/Change #255 (Can't change IP range)




Action