Cannot set IP address for new bridge

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
ptfnet
DD-WRT Novice


Joined: 09 Dec 2014
Posts: 10

PostPosted: Wed Sep 30, 2015 6:27    Post subject: Cannot set IP address for new bridge Reply with quote
I am trying to create multiple BSSIDs in my WLAN. The problem is that I cannot assign an IP address and netmask to a new bridge. I can enter data into these fields, but when I apply the settings they reset to 0.0.0.0.

Here are the details.

Firmware: DD-WRT v3.0-r27360 (06/18/15) big
RT-N66U
HW Ver: B1

to assign an IP address to a new bridge, it resets There are any number of cookbooks for this; I list a few below. All of these start out by creating a bridge.

(1) Reset to factory defaults, and set some simple defaults (router name, ntp, ssh, https, wireless SSID and address)

(2) Crete a bridge (br1) and apply settings

(3) Set address and netmask, and apply settings

At this point the address and netmask usually reset to 0.0.0.0 -- though sometimes they both change to 255.255.255.0.

Ideally, the setup I want is
Wired:
10.22.40.50 / 255.255.254.0

Wireless
10.23.40.50 / 255.255.255.240

Among other things, I have tried using the "default" IPs (192.168.1.1/24, and 192.168.2.1/24), but it didn't help.

--
For the sake of posterity, here are some of the cookbooks I've attempted to follow.

http://www.coertvonk.com/technology/networking/dd-wrt-leading-two-seperate-networks-5829

www.ciscopress.com/articles/article.asp?p=1730493

https://www.dd-wrt.com/wiki/index.php/Multiple_WLANs

https://www.dd-wrt.com/wiki/index.php/Separate_LAN_and_WLAN

Thanks for your help.

[Edited to include easy-to-find description of problem.]
Sponsor
ptfnet
DD-WRT Novice


Joined: 09 Dec 2014
Posts: 10

PostPosted: Sun Oct 11, 2015 15:21    Post subject: Still no luck creating bridge Reply with quote
Can anyone help? My old router is dying, and I need to figure this out or decide to abandon dd-wrt (which I would hate to do). I've got to be missing something simple, since all I am trying to do is add a bridge.

As noted in the previous message, I click on Add Bridge, name it br1, apply settings, and then try to set the IP address and netmask. When I apply settings again, the IP info is reset to all zeroes.

My next step, I guess, is to figure out the commands for adding a bridge and try it from an SSH session; perhaps it will give me an informative error message.

I enabled syslog to see what I could learn. Interestingly, the syslog messages don't even mention br1. See below. (I shortened the log lines a bit for readability.)

Does anyone have any ideas on this? Thsnks.

15:03:11 kern.info kernel: br0: port 3(eth2) entered disabled state
15:03:11 kern.info kernel: br0: port 2(eth1) entered disabled state
15:03:11 kern.info kernel: br0: port 1(vlan1) entered disabled state
15:03:11 user.info : ttraff : traffic counter daemon successfully stopped
15:03:11 user.info : bridge deleted successfully
15:03:11 user.info : nas : NAS daemon successfully stopped
15:03:11 kern.warn kernel: Hooks already unregistered
15:03:11 kern.warn kernel: Hooks already unregistered
15:03:11 user.info : interface deleted successfully
15:03:11 kern.info kernel: device vlan1 left promiscuous mode
15:03:11 kern.info kernel: br0: port 1(vlan1) entered disabled state
15:03:11 kern.info kernel: device eth2 left promiscuous mode
15:03:11 kern.info kernel: br0: port 3(eth2) entered disabled state
15:03:11 kern.info kernel: device eth1 left promiscuous mode
15:03:11 kern.info kernel: br0: port 2(eth1) entered disabled state
15:03:11 user.info : bridge deleted successfully
15:03:11 user.info : interface deleted successfully
15:03:11 kern.warn kernel: Interface br0 doesn't exist
15:03:11 kern.warn kernel: Hooks already unregistered
15:03:11 kern.warn kernel: Hooks already unregistered
15:03:11 user.info : interface deleted successfully
15:03:11 kern.warn kernel: Interface br0 doesn't exist
15:03:12 user.info : udhcpc : udhcp client process successfully stopped
15:03:12 kern.info kernel: device eth0 left promiscuous mode
15:03:12 user.info : bridge added successfully
15:03:12 user.info : bridge added successfully
15:03:12 kern.info kernel: using kernel STP
15:03:12 user.info : bridge added successfully
15:03:12 kern.info kernel: device br0 entered promiscuous mode
15:03:12 user.info : interface added successfully
15:03:12 kern.info kernel: device vlan1 entered promiscuous mode
15:03:12 kern.info kernel: device eth0 entered promiscuous mode
15:03:12 kern.info kernel: br0: port 1(vlan1) entered forwarding state
15:03:12 kern.info kernel: br0: port 1(vlan1) entered forwarding state
15:03:12 user.info : interface added successfully
15:03:12 kern.info kernel: device eth1 entered promiscuous mode
15:03:12 kern.info kernel: br0: port 2(eth1) entered forwarding state
15:03:12 kern.info kernel: br0: port 2(eth1) entered forwarding state
15:03:13 user.info : interface added successfully
15:03:13 kern.info kernel: device eth2 entered promiscuous mode
15:03:13 kern.info kernel: br0: port 3(eth2) entered forwarding state
15:03:13 kern.info kernel: br0: port 3(eth2) entered forwarding state
15:03:13 kern.info kernel: device br0 left promiscuous mode
15:03:13 kern.info kernel: device br0 entered promiscuous mode
15:03:13 kern.info kernel: device br0 left promiscuous mode
15:03:13 kern.info kernel: device vlan2 entered promiscuous mode
15:03:14 kern.info kernel: br0: port 1(vlan1) entered forwarding state
15:03:14 kern.info kernel: device vlan2 left promiscuous mode
15:03:14 user.info : dnsmasq : dnsmasq daemon successfully stopped
15:03:14 user.info : ttraff : traffic counter daemon successfully started
15:03:14 kern.info kernel: br0: port 2(eth1) entered forwarding state
15:03:15 user.debug : ttraff: data collection started
15:03:15 user.info : NAS : NAS lan (wl0 interface) successfully started
15:03:15 user.info : dnsmasq : dnsmasq daemon successfully started
15:03:15 kern.info kernel: br0: port 3(eth2) entered forwarding state
15:03:16 user.info : cron : cron daemon successfully stopped
15:03:16 user.info : cron : cron daemon successfully started
15:03:16 cron.info cron[2114]: (CRON) STARTUP (fork ok)
15:03:16 cron.info cron[2114]: (crontabs) ORPHAN (no passwd entry)
15:03:18 user.info : httpd : http daemon successfully stopped
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Tue Oct 13, 2015 13:31    Post subject: Reply with quote
What version of CFE do you have?

There have been som problems with RT-N66U. The cable ports inoperable for instance.

http://www.snbforums.com/threads/cfe-bootloader-update.8259/
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Tue Oct 13, 2015 20:20    Post subject: Re: Still no luck creating bridge Reply with quote
ptfnet wrote:
I click on Add Bridge, name it br1, apply settings, and then try to set the IP address and netmask. When I apply settings again, the IP info is reset to all zeroes.
Sorry to add what will be probably useless help, but just to make sure, are you clicking 'Save' and then 'Apply'? Likely not an issue, as you've changed other settings, but doesn't hurt to verify. Next, have you tried a newer build? 27858 is well regarded; do -not- use 27944.

The CFE check would be easy to do right from the GUI Command window, per PYB's link:
Code:
strings /dev/mtd0ro | grep bl_ver

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
ptfnet
DD-WRT Novice


Joined: 09 Dec 2014
Posts: 10

PostPosted: Fri Oct 23, 2015 3:49    Post subject: Reply with quote
Thanks, jwh7!

After some looking around, I found
dd-wrt.v24-27858_NEWD-2_K3.x-big-RT-N66U
and that did the trick.

Just for completeness, here are the answers to your other questions:

1) The CFE check gives this:

# strings /dev/mtd0ro | grep bl_ver
bl_version=1.0.1.9

2) No, I generally don't save until I need to. That is: after I've done a lot of work, if I'm about to do something drastic, or if I need to reboot. In the case of the bridge settings, I could not save until I entered a valid IP. At that point, neither save nor apply would hold onto the IP address.

Thanks once again; maybe I can finally get rid of my (slowly dying) old router.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum