Author Topic: Router Mode - Virtual lan0 not reachable  (Read 5783 times)

tipsmark

  • Member
  • ***
  • Posts: 4
    • View Profile
Router Mode - Virtual lan0 not reachable
« on: May 28, 2015, 08:02:33 PM »
tried this, just cant get it working...  when I configure for example wan0 with wanos-cfg and set the ip to 192.168.0.254 then edit /tce/etc/wanos/wanos.conf and set lan0 to 192.168.0.250/24 I am only able to ping 192.168.0.254.

ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #1 on: May 28, 2015, 08:18:14 PM »
Ping the virtual lan0 from the network side.

The virtual lan0 is not pingable "locally" ... yet.
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs

tipsmark

  • Member
  • ***
  • Posts: 4
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #2 on: May 29, 2015, 01:49:58 AM »
not sure what you mean? wanos has a single nic and is on same subnet as the host that can ping the ip configured with wanos-cfg but unable to ping the ip address set via vi /tce/etc/wanos/wanos.conf.

how do I verify the wanos is in routing mode?

ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #3 on: May 29, 2015, 07:12:29 AM »
Ping the virtual lan0 ip address from the network e.g. the server or router in the same address range. The virtual lan0 address is not reachable from the linux command line.
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs

tipsmark

  • Member
  • ***
  • Posts: 4
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #4 on: May 29, 2015, 08:41:51 AM »
thats what I did, not reachable from the network in the same range either. Tried this multiple times deploying new templates, tried in vmware, virtual box etc.

ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #5 on: May 29, 2015, 08:56:53 AM »
Oh ok, enable promiscuous mode.
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs

tipsmark

  • Member
  • ***
  • Posts: 4
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #6 on: May 29, 2015, 02:51:43 PM »
ok that and forged transmit (spoofing) worked. enough to do it on port level too, no required for entire portgroup. thx now I can move on with testing.

http://i.imgur.com/piJ923L.png

where would I put my wanos applicances with this topology?

ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Router Mode - Virtual lan0 not reachable
« Reply #7 on: May 29, 2015, 03:16:16 PM »
To make testing easy:

Bridge mode at the remote site between ISP FW and L2 Switch.

Main site router mode in Vlan 5.
Test sever default route = wanos-lan0
ASA FW static host route 10.0.5.10/32 = wanos-wan0

Note: some route/ip stacks will just hand off from the FW directly to the server and ignore the /32 route when the destination address is in the same range as the interface.
« Last Edit: May 29, 2015, 03:31:06 PM by ahenning »
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs