|
Title: Changing LAN network address Post by: Szumi on March 06, 2006, 22:47:27 PM In your tutorial
http://www.macsat.com/macsat/content/view/13/30/ You have user setting these values: nvram set wan_ifname=vlan1 nvram set wan_proto=dhcp nvram set lan_ifname=br0 nvram set lan_ifnames="vlan0 eth1" nvram set lan_proto=static nvram set lan_netmask=255.255.255.0 nvram set lan_gateway=192.168.1.1 nvram set dhcp_start=192.168.1.50 nvram set dhcp_end=192.168.1.75 nvram commit I changed the following thinking that it would change network address of lan: nvram set lan_gateway=10.1.1.1 nvram set dhcp_start=10.1.1.50 nvram set dhcp_end=10.1.1.75 nvram commit reboot router came up with LAN still 192.168.1.0 So I changed lan_addr to 10.1.1.1, commited and rebooted and then WAN side changed to a 10.1.1.0 network . Did you leave something out of tutorial or am I missing something? Thanks, Szumi Title: Re: Changing LAN network address Post by: macsat on March 07, 2006, 08:45:37 AM For changing to 10.1.1.1 you need to: Code: nvram set lan_ipaddr=192.168.0.1 ....as far as I know.nvram set wan_ifname=vlan1 nvram set wan_proto=dhcp nvram set lan_ifname=br0 nvram set lan_ifnames="vlan0 eth1" nvram set lan_proto=static nvram set lan_netmask=255.0.0.0 nvram set lan_gateway=10.1.1.1 nvram set dhcp_start=10.1.1.50 nvram set dhcp_end=10.1.1.75 nvram commit I am not too sure about the lan_netmask, but I do believe the above would be correct. Changing lan_ varibles shouldnt interfer with your WAN address! Title: Re: Changing LAN network address Post by: Szumi on March 07, 2006, 15:56:17 PM My bad.
So I changed lan_addr to 10.1.1.1, commited and rebooted and then WAN side changed to a 10.1.1.0 network. Should have been So I changed lan_addr to 10.1.1.1, commited and rebooted and then LAN side changed to a 10.1.1.0 network . Szumi
Powered by SMF 1.1.7 |
SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com |