خرید بک لینک

192.168.1.0 is my network. My Ubuntu server is 192.168.1.2 (eth0). The same server is also coected to 192.168.2.0 with eth1 (192.168.2.242), JUST for SMB traffic. That works fine. I want to be able to access the 192.168.2.0 network (really only port 8443 on 192.168.2.111) from the 192.168.1.0 network.

On my DD-WRT router I tried adding a route like:

Destination LAN NET: 192.168.2.0
Mask: 255.255.255.0
Gateway: 192.168.1.2

Then on the Ubuntu machine I tried a bunch of different routes.
route add -net 192.168.2.0 netmask 255.255.255.0 dev eth0
route add -net 192.168.2.0 netmask 255.255.255.0 dev eth1
route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1

Nothing seems to work. I seem to be chasing my own tail here. Any help would be appreciated.

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 29 ارديبهشت 1395 ساعت: 3:08

صفحه بندی