Tomato Shibby vlan

Discussion in 'Tomato Firmware' started by beneee, Nov 6, 2018.

  1. beneee

    beneee LI Guru Member

    Hi,

    Perhaps You can Help me.
    I have a Asus ac66u with latest Shibby 1.40

    I have a DSL Modem that have IP 169.254.2.1 but only
    accesable in lan port 2. Asus wan port to lan port 1 on Modem.

    My idea was Put a lan cable in Asus port 4 and Modem port 2.
    Set port 4 a new vlan with IP 169.254.2.10 so that i can Access the
    Modem over 169.254.2.1, also remote and so on.

    Doesnt Work. I Tried everything.. now i reset all again.

    Have anyone a simple Tip for me how can i Realize that?

    Thanks and regards
     
  2. beneee

    beneee LI Guru Member

    I reset all again. Created new lan br1 with
    169.254.2.2, 255.255.255.0 and add DHCP 169.254.2.10-12
    Created vlan3 with id3 and add port 4 to vlan.
    Port4 i Connect to port2 of the Modem.

    Can Ping 169.254.2.1 when i telnet Into router and do the Ping from There.

    No ping when connected to Router and no webif

    How can i do that?
     
  3. PetervdM

    PetervdM Network Guru Member

    169.254.0.0/16 - so 169.254.0.0 through 169.254.255.255 is a special link local address subnet called apipa meant for networks without dhcp and dns, so it is designed for local connectivity only. if you are using it for 'normal' networking unpredictable results are to be expected. i suggest you try another network range.
     
  4. Sean B.

    Sean B. LI Guru Member

    I may be incorrect, but I would guess the reason you're using the 169.254.0.0/16 network is because it's what you see you're on when you connect a computer to LAN 2 of the DSL modem. If so, you're seeing that network because there is no active DHCP service running on the DSL modems LAN. Find out what the default IP address is for accessing the DSL modem, often it's on a sticker on the bottom or back side of the modem, if not then a quick google search of the modem model should find you the users manual. It's likely 192.168.100.1, 192.168.0.1, or 192.168.1.1 . Once you find out, set the IP address for br1 on your router to the same subnet as the modem (IE: If modem IP is 192.168.100.1 set br1 IP to 192.168.100.2 ). Remember to exclude the modems IP from whatever DHCP range you set, as it is staticly assigned on the modem and a conflict would occur if it gets assigned to a client by DHCP.


    **NOTE** If the DSL modem IP happens to conflict with an IP used by one of your routers interfaces, you'll either need to connect a computer directly to the modem to access it's settings and change the IP address of the modem. Or change the IP address on the conflicting interface of your router.
     
    Last edited: Nov 9, 2018 at 10:58 PM
  5. beneee

    beneee LI Guru Member

    Hi,

    i tested also with a Fritzbox with IP 192.168.178.1 and can also not access it, so i think it has nothing todo with the ip of the modem.

    @Sean B.
    It is a Speedport Router. When you use the Speedport Router in bridged Mode it act as a Modem only. It has two LAN Ports. In Bridged Mode you use WAN Port to LAN1 Port but the Webinterface in Bridge Mode is only accessable on LAN2 with IP 169.254.2.1. To have Access to Webif my Idea was create a VLAN in Tomato and so on.

    I create vlan3 and set port4 to it. Port4 - lan cable - port2 Modem.
    I tested this commands:
    Code:
    ifconfig vlan3 169.254.2.10 netmask 255.255.255.0
    iptables -t nat -I POSTROUTING -s ! $(nvram get lan_ipaddr) -d 169.254.2.0/24 -j SNAT --to 169.254.2.10
    I was able to ping it and can access the webif when i type http://169.254.2.1. But port forwards is not possible so that i can access the webif of the modem from outside. In example open port 9090 and forward it to Port 80 on 169.254.2.1 and access from outside or inside 192.168.1.1:9090
     
  6. Sean B.

    Sean B. LI Guru Member

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice