bassplayerchris
Occasional Visitor
Hi -
I have the following topology:
Two networks, with the wired span hanging off a Cisco SG300, cable router running OpenWRT and DHCP and a separate Wireless LAN (routed so that I can control traffic flow between wired lan and wireless devices). On the wired side the router has a route for the 192.168.2.0/24 network that points to the WAN port of the wireless (192.168.1.3)
The problem is that traffic from the wired side to the wireless side tends to hairpin through the router (192.168.1.1) because that is what the wired clients receive as their default gateway.
I was playing around with the L3 routing on the SG300and it occurred to me that the functionality wouldn't work in the general sense unless it was possible to point at the cisco as the gateway for the various networks it knows of.
So I've tried getting the DHCP server to serve up the SG300s IP as the 'default gateway' and all seems to be good apart from adding a few ms of latency. My question is whether there is a better way of doing this? The only alternates I can think of is having the DHCP server push out static routes (which not every wired client accepts), or to use ICMP redirects (which by default Linux - running on the servers - suppresses)
I have the following topology:
Two networks, with the wired span hanging off a Cisco SG300, cable router running OpenWRT and DHCP and a separate Wireless LAN (routed so that I can control traffic flow between wired lan and wireless devices). On the wired side the router has a route for the 192.168.2.0/24 network that points to the WAN port of the wireless (192.168.1.3)
The problem is that traffic from the wired side to the wireless side tends to hairpin through the router (192.168.1.1) because that is what the wired clients receive as their default gateway.
I was playing around with the L3 routing on the SG300and it occurred to me that the functionality wouldn't work in the general sense unless it was possible to point at the cisco as the gateway for the various networks it knows of.
So I've tried getting the DHCP server to serve up the SG300s IP as the 'default gateway' and all seems to be good apart from adding a few ms of latency. My question is whether there is a better way of doing this? The only alternates I can think of is having the DHCP server push out static routes (which not every wired client accepts), or to use ICMP redirects (which by default Linux - running on the servers - suppresses)