MultiBand DDWRT ath0 AP Cant Reach Internet Thru ath1 Client

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Goto page Previous  1, 2
Author Message
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5223
Location: Akershus, Norway

PostPosted: Wed May 01, 2019 9:17    Post subject: Reply with quote
Does `nvram get lan_ipaddr` resolve to the correct IP address?

iptables -t nat -A POSTROUTING -o br0 -j SNAT --to-source 192.168.10.252

192.168.10.252 is the address on br0, correct?
Sponsor
atErik
DD-WRT Novice


Joined: 25 Apr 2019
Posts: 10

PostPosted: Wed May 01, 2019 11:03    Post subject: Reply with quote
no. DDWRT-menu > Administration > Commands > Diagnostics > Command-Shell > `nvram get lan_ipaddr` > "Run-Commands":

No response box was shown below Command-Shell box with any response.

and i think (though not 100% sure) that br0 now has IP 192.168.10.252 (after i made below changes)

i have tried your iptables command "iptables -t nat -A POSTROUTING -o br0 -j SNAT --to-source 192.168.10.252"
but it has not improved functionalities

- - - - - - - - - - - - - - - - - - - - -

i'm still trying to establish net route for "ath0.1" (192.168.16.x NET) traffic going VIA "ath1" IP/GW or going VIA br0 to ath1, etc and ultimately into the Internet.

please help.

The settings which i posted in my 1st-post/1st-message/OP-1st-message (in 1st-page of this thread), by now i have CHANGED settings further, Below are the current changes i have made now in DDWRT-1 compared to 1st-page(1st-message) :

* changed ath1's fixed-IP from "192.168.10.250" into "192.168.10.252" <-- it is also the IP of the "DDWRT-1-RTR-1", and GW IP is same "192.168.10.254", ath1 is "Unbridged" & NAT-enabled.

* selected the "disable" option for "SSID-2" broadcast under "ath0" section, kept "ath0" in "Bridge" mode.

* currently DDWRT-1 has,
Route (Static)
Rule # | Destination-LAN | Subnet-Mask ..| Gateway ....| Interface .| Metric | NAT
1...| 192.168.16.0 .| 255.255.255.0 .| 192.168.16.1 . | ath0.1 ...| 0 ...| ✅
2...| 192.168.16.0 .| 255.255.255.0 .| 192.168.16.1 . | ath0 ....| 0 ...| ✅
3...| 192.168.16.0 .| 255.255.255.0 .| 192.168.16.1 . | LAN-&-WLAN | 0 ...| ✅
4...| 192.168.16.1 .| 255.255.255.255 | 192.168.10.252 | LAN-&-WLAN | 0 ...| ✅

Routing table:
Code:
Destination .|.Subnet
LAN NET ..|.Mask ......| Gateway ....| Flags | Metric | interface
---------------┼--------------------┼-------------------┼-------┼--------┼-----------
default ...| 0.0.0.0 .....| 192.168.10.254 | UG . | 0 ...| ath1
192.168.10.0 | 255.255.255.0 .| * ....... | U .. | 0 ...| LAN & WLAN
192.168.10.0 | 255.255.255.0 .| * ....... | U .. | 0 ...| ath1
192.168.16.0 | 255.255.255.0 .| 192.168.16.1 .| UG . | 0 ...| ath0.1
192.168.16.0 | 255.255.255.0 .| * ....... | U .. | 0 ...| ath0.1
192.168.16.1 | 255.255.255.255 | 192.168.10.252 | UGH.| 0 ...| LAN & WLAN


* Current BRIDGE Settings:
Name: br0 , STP : STP , IGMP Snooping : Off , Prio: 32768 , Forward-Delay: 15 , Max-Age: 20 , MTU: 1500 , Root-MAC: "DDWRT-1-ETH0-MAC-ADRS".

* Current Bridging Table:
Bridge-Name: br0 , STP: yes , Interface: ath0 eth0 eth1

Based on above settings, DDWRT-1's functionalities still remained same as 1st-page 1st-message:

SSID-2 devices can get DHCP based IP from 192.168.16.x NET, but they cannot connect with Internet destination/addresses. Sad
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum