802.1q trunking on the Linksys WRT54G/S/L with DD-WRT
Written by Kevan   
Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

While working with a WRT54G at a small office wisu ended up needing to setup a 802.1q trunk between the WRT and a Dell Managed ethernet switch.  The need came about because we wanted to keep the number of switch ports used while setting up the WRT as the default router and firewall for several subnets.  As we investigated what is was going to take to get the WRT54G setup we determined there were a few problems:

  1. The default internal LAN network on the WRT is VLAN 0 - VLAN 0 is not supported on most 802.1q capable switches.  Most switches (including ours) start at VLAN 1 and recommend starting at VLAN 2.
  2. The web interface for DD-WRT enables VLAN tagging on a per port basis but does not enable each VLAN for tagging.
  3. The documentation on this topic is hard to find.


Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

 

First Step - Changing Network A's VLAN

 First we will move the default internal LAN network (Network A) from VLAN 0 to VLAN 2

1)  Install the v.23 dd-wrt final or SP1 beta version of firmware available HERE -- Instructions for installing DD-WRT are available HERE

2)  Logon to the web management interface in DD-WRT.  Select the Administration tab.  Scroll down until you find the JFFS2 Support information.  JFFS2 must be enabled.  If you have never enabled JFFS2 before you will also need to select the Clean JFFS2 enable button to initialize the file system.  Scroll to the bottom and select Save Settings

 DD-WRT JFFS Image


3)  Telnet to your router and enter the username of root and your administrative password.

4)  Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. -------------------         

mkdir /jffs/etc

mkdir /jffs/etc/config 

nvram set vlan0ports="5*"

nvram set vlan2ports="1 2 3 4 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

ifconfig vlan2 up

' > /jffs/etc/config/vlan2.startup  

chmod 750 /jffs/etc/config/vlan2.startup 

--------------- Stop here when selecting text to copy -------------------------- 

5) Back to the web management interface in DD-WRT.  Select the Setup tab and the select the VLAN sub-tab.

6)  For ports 1 through 4 de-select VLAN 0 and select VLAN 2.  Then move VLAN 0's bridge from LAN to None and VLAN 2's bridge from None to LAN.

 DD-WRT Vlan2 setup

7)  Click the Save Settings button at the bottom of the page.

8)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your router is running with your default VLAN on VLAN 2.  Network A is now configured to run on VLAN2.  Verify that connectivity to internal hosts and the internet is working correctly.


Second Step - Setting up Network B and establishing the trunk on port 4

1)  Back to the telnet window. Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. ------------------- 

nvram set vlan2ports="1 2 3 4t 5t"

nvram set vlan3ports="4t 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

iptables -I FORWARD -i br0 -o vlan3 -j ACCEPT

iptables -I FORWARD -i vlan3 -o br0 -j ACCEPT

iptables -I FORWARD -i vlan3 -o vlan1 -j ACCEPT

iptables -I INPUT -i vlan3 -j ACCEPT 

ip addr add 192.168.2.1/24 brd + dev vlan3 

ifconfig vlan3 up

' > /jffs/etc/config/vlan3.startup 

chmod 750 /jffs/etc/config/vlan3.startup

--------------- Stop here when selecting text to copy --------------------------

2)  On port 4 select the tagged checkbox and then select VLAN 3.

 DD-WRT Vlan3 setupi

3)  Click the Save Settings button at the bottom of the page.

4)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your WRT should be configured and port 4 is a 802.1q trunk with both VLAN 2 and 3 present and tagged. (Network A and B) 

 

Last Step - Configuring DNSMASQ to hand out DHCP leases to Network B

1)  Back to the web management interface in DD-WRT.  Select the Administration tab and then the Management sub-tab.

2)   Scroll down until you find the DNS MASQ section of the Management tab.

3)  In the Additional DNS Options box paste the following:

 ------------------- Copy starting below this line. -------------------         

interface=vlan2
dhcp-range=192.168.2.100,192.168.2.149,255.255.255.0,1440m

--------------- Stop here when selecting text to copy --------------------------

DD-WRT DNS MASQ settings

4)  Click the Save Settings button at the bottom of the page.

You should now have a WRT54G/S/L running DD-WRT with two separate and routable subnets with access to the internet.

If you have any questions or issues please leave a comment and we will see if we can help.

 

 

 

Comments
VLAN switching of wireless clients
Written by mckemike on 2006-11-03 08:21:50
Kevan, 
 
First let me say thanks for taking the time to document these features. My question is can dd-wrt v23.x be enabled for VLAN switching on wireless clients? I’m trying to rolling out wireless for our school campus without breaking the budget on Cisco AP’s. I currently use a product called Campus Manager from Bradford Networks that allows for VLAN switching of fixed ports and wireless clients to a previously defined VLAN. I read the article about port based VLAN switching do you think that if the a WRT54G was plugged into a trunked Cisco port and DHCP was being provided by my domain DHCP servers and clients started connecting wirelessly they could be switched to a different VLAN? 
 
Thanks. 
Mike 
Written by Kevan on 2006-11-05 09:21:45
I just took a quick read at the Campus Manager website... I don't this the DD-WRT will work with that product without development on the DD-WRT and Campus Manager products. With DD-WRT v24 you could setup two SSIDs on different VLANs - One for students and one for staff. I could help with that if needed. 
 
Kevan
Thanks! Really helped
Written by This email address is being protected from spam bots, you need Javascript enabled to view it on 2006-12-09 12:23:16
I had a need to create a VLAN for VOIP QOS testing, requiring tagged packets on all LAN ports. Note that, with no additional VLANS, dd-wrt is capable of recognizing and routing VLANS whose members have static addresses. 
 
I needed DHCP for the VLAN. Here's how I did it. 
Note that iptables is not one of my strong points, so use caution. I may havde completely destroyed firewall security. More competent people should comment. Suggestions welcome. 
 
Create vlan15: 
 
Start contents of file: /jffs/etc/startup.sh 
#!/bin/ash 
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}" 
for I in `/bin/ls /jffs/etc/config/*.startup` 
do 
sh $I & 
done 
End contents of file: /jffs/etc/startup.sh 
chmod 750 /jffs/etc/config/startup.sh 
 
Start contents of file: /jffs/etc/vlan15.startup 
#!/bin/ash 
iptables -I FORWARD -i br0 -o vlan15 -j ACCEPT 
iptables -I FORWARD -i vlan15 -o br0 -j ACCEPT 
iptables -I FORWARD -i vlan15 -o vlan1 -j ACCEPT 
iptables -I INPUT -i vlan15 -j ACCEPT 
ip addr add 192.168.3.1/24 brd + dev vlan15 
ifconfig vlan15 up 
End contents of file: /jffs/etc/vlan15.startup 
chmod 750 /jffs/etc/config/vlan15.startup 
 
nvram set landevs="vlan0 vlan15 wl0" 
nvram set vlan15ports="1t 2t 3t 4t 5t" 
nvram set rc_startup="/jffs/etc/config/startup.sh" 
nvram commit 
 
In router web interface: 
Setup > VLANS 
Checkmark VLAN15 Ports 1 to 4, Bridge:None 
Checkmark Tagged, Ports 1 to 4 
Save Settings 
Administration > Services > Additional DHCPd Options (text field) 
interface=vlan15 
dhcp-range=192.168.3.100,192.168.3.199,255.255.255.0,1440m 
Save Settings 
 
Reboot Router 
Written by Merlin on 2007-01-03 16:21:38
Great article. Thouth it would solve my problem, also (and I'm still sure it will - but I need some help). Actually I got VDSL in Germany, which requires VLAN-Tagging according to IEEE802.1p/q. The VLAN must have ID 7. So I set port vlan7ports="0 5" and vlan1ports=" ". Than tried vlan7ports="0t 5t" but thats also not working. Maybe the system is not dialing via vlan7? I also changed the WAN vlan in the management interface. No result. Can you please give me a an hint? 
By the way, I use DD-WRT V.23 SP2 
Best regards 
Merlin
Written by bhechinger on 2007-02-02 18:36:08
I want to do this, but JFFS2 isn't an option on my web GUI. If I go to the CLI, there is a /jffs directory, but if I do a mkdir there, it doesn't complain, but it doesn't actually create anything. 
 
Could this be because I have to run micro? (WRT54Gv6) 
 
Is there a way to get what I need here? Or am I out of luck?
Help setting up trunking on WLAN for DDW
Written by This email address is being protected from spam bots, you need Javascript enabled to view it on 2008-07-10 08:50:05
Hi, I'm still pretty new to DDWRT but I'm starting to find all of the incredible things I can do with it. One project I am working on is using a WRT54GLv1.1 as a WAP for my company. What I'm attempting to do is set up a Employee wireless network which is attached to my 10.10.0.x VLAN and a Guest network which is attached to my 10.10.333.x network. From what I can tell, I need to set up VLAN trunking on both my router and the CISCO switch the router will be plugged into. If possible, could you help me set the VLAN portion of my router? I know how to set up the multiple SSIDs and separate those on the router but I'm not sure how to tell each SSID to attach to the appropriate VLAN for the trunk. I found your tutorial which seems to be similar to what I need but it looks like that is using the LAN ports instead of WLAN. I'm not exactly sure what changes I need to make to the commands in order to get this to work for WLAN. Any help would be greatly appreciated.
hot free porn sites
Written by Neville on 2009-01-23 02:28:43
free amateur home porn 9F9r s6P Sexy Office Legs g84 bA2F, paris hilton porn downloads 4EqE hbm Big Fat Ass Pics Bc1 kNPe, secret amature porn 4kZ8 Xcj Beauty Of Asian SDWc QxR6, private castings porn fgb aygb Paris Hilton Sex Video For Psp 2xdY 5bj, best porn sites reviews 5wE C8Tq Sexy And Funny Gym 4GnH qKb, milf porn downloads gW1 6yqb Sexy Santa Game zkP j4n, porn videos review L0Q S5y Teen Fitness Babes O4Pe HS6n, www ducky porn q3GC ytkf Vivid Video Employment t3p gZ5S, porn industry chooses hd dvd 13fK NCb Anal Fuck Video Clips nCb y9X, www guy porn xkx MEO Fat Anime Girls RmEB AG0M, vintage porn dvds GOz QzW Free Bbw Porn Pictures WXy BnWs, cartoon porn games for free 6f8 HaAn Www Dog Sex Com pKL Ws3K, homemade amature porn videos WR4 Fn9 Video Cam Chat gQA Qdf, porn stories for women 32r 7wgN Jews Kick Ass zrEy whp, hd pov porn 6KT bnr Free Nude Amateur Wives And Naked Girlfriends SyqG 0Df, younger girls porn cmPz fh7g Slap That Bitch Lyrics 2wOh 9737, bleach porn games z55 ORB Fuck Yeah We Could Live Like This XGQ tpsO, pregnant women porn bZr WQ2 Asian American Porno dSy G3g, free porn vidios d4XZ ygW Free Asians Getting Fucked S5Y PKgF, best free streaming porn SW6T 9YB0 Miss Teen Usa 2002 WORt tAM, simpsons porn games 1bT 1OcM Boob Exam Videos ypW pSC,
piss me off
Written by Archibald on 2009-01-23 03:04:00
www smutgremlins com freeporn kKh wcm Naked Gay Italian Men AHt rFM, my vibrator TmF3 LOE Sexy Babes Games bqmk 8FmB, girl having orgasm c4dt 8PD Britney Spears And Private 4c2 8Ob, gay cards ssd 9YKz Get Fucked Up At Home LLj7 Bfh, free phone sex M8QP S4YT Sexy Naked Gay Guys CXS PB1, breast video r4d AQ91 Busty Asian Models 9X0 nQe, free sex games 4k35 zQsc Asian Hardcore Dvd AXSy Gr4, pussey willow XXg2 fBH Best Home Made Videos Aeb eCOs, ford models bH7x CRj Dave Chappelle I M Rick James Bitch bqO dr3, lick his ass fkF OtrH Pictures Of Daniel Radcliffe Penis PwGq NM8, fat butt Q64B 4HK Listen To All I Want For Christmas By Britney Spears DQg pBD, licking co ohio hEWf jQa Miss Big Ass Brazil pYb0 FHh, hot anal whQ4 q43 S Video Quality nmZK zj6, teachers fucking students xnr3 qtn Old Video Games W7bq bEw, free erotic story a7df 6bB Anime Porn Wallpaper pMd 5GR7, wfmz 69 Fj8C 3EKZ The Fat Boys Are Back And You Know 7GW5 Bx59, ass gallery q025 Cb8 Fuck Her Fat LtzO 9q0, drunk orgy h1r1 RDC Sex Porn Flash Games 70L Qcf,
new york from flava of love naked
Written by Ophelia on 2009-01-23 03:10:27
beautifull nude women TcqD 7yf Go Fuck Yourself Com hBz K1Yh, free photos of naked women YFe nrzE Your Black Hair And Your Fat Ass Thighs fYw mHw, naked wemon dancing TX6q s5W7 Beauty Of Asian SDWc QxR6, vanessa minnillo and nick naked NaP YYBO Hot Country Music Videos PbO wMZ, bare and naked fEr RpF Naked Pictures For Free St4 47kB, half naked anime girls y4KZ pKKj Women Porn Gallery fA9 TAFf, naked juice co of glendora A9k nQx Celebrity Sex Porn 5cs YQ5, lyrics for crazy car by the naked brothers band hrsE WHO Internet Is For Porn Download sfc eZP, naked house wives r5GO DsF Best Teen Bedrooms MTp hSd, videos of naked girls in the shower DWG aOA Black Ass Fucked eNAh rnM, naked lunch and nyc k6E Hfx Crazy Fuck Fest hC3 6y3z, naked black girl porn 2aw 7N4 Anime Girl Flash Games Ka1 SaBc, wemon getting naked zwb 24h3 Gay Nude Video TthB tRh, naked gun baseball scene wtja W9Z Naruto Adult Fanfiction YL7r sks, hot naked mexican chicks 4TNd 9C89 Ralphy Pink Bunny BjB5 hAa,
naked teen girlz
Written by Kitty on 2009-01-23 03:27:07
diy teen bedroom X4bp XOr Inuyasha Manga And Anime BFK7 POZ, ebay pbteen eF0D cCzF Mp4 Format Videos 9dem RAZW, petite teen thumbs ZMT feX Love The Way You Fuck Me Lyrics jktW Q7Yh, free teen lesbian chat rooms G8da O0g Asian Sex Porno dzFP 62x, avril lavigne on teen nick 2MD 1et Cam Strip Video OqL 4S3, free tiny teen ApO 0d7x Britney Spears Crotch Shot Paris KFn 4Rc, ab teen driving xaR0 aDef Hot Anime Babe Ps9 FcE, tiny teen porno 4dK s6M Sexy Back Country pb2 1gxf, theme bedrooms P8r NH72 Youtube For Adult BHC 7a83, teen advice blog 3bfR EjG2 Girls Dog Sex dzd wkd, aqua teen hunger force colon movie film for theaters colon StY sYK Nick Lachey And Vanessa Manilo Naked 7w5 M6T6, free cute pictures m1FQ xxmc Free Amature Pron XFy YWF6, american teen chat zqt8 kLy Naked School Girls zz90 1Aap, free teen monologues 11C mrb2 Japanese Big Tits 2eCa 11B, popular hairstyles for teen girls OzG r7bj Pink Ribbon Christmas Ornaments 8D4 16Fe, tiny thai teen pSb R8A Gay Men Sex Stories 9MP DWc, best books for teen boys t0E GcXb Sexy Girls Fucking Horses bDRa H52, tiny teen movies 6ZjH 5q5z Lindsay Lohan Naked Fakes ySR5 5OaF, teen foot C1H M2m1 National Geographic Video Podcast Z3Cw Lpw,
hentai porn video
Written by Sammy on 2009-01-23 04:04:35
free hot lesbian porn movies rN5 Sy8 Same Sex Marriage Bible YKw0 tEr6, free gay cartoon porn videos X5Tn TYGO Fun Teen Poems HKR NDSe, kim possible xxx porn qHDA tCqH Asian Import Car Models patT Rfp, porn film clips KKrd msr Shemale Masturbating Video T3Q ba0, anal sex porn gps p3S5 All Reality Porn Pass 7QD 5Ef1, kim possible shego porn 8bxe DFH She Made Me Lick Her Ass DS4 sfM, 9 month pregnant porn Ae5 pgjX Christina Aguilera Nude Diary rFes 16Ec, free flash cartoon porn rQG F15 Britney Spears On Davis Letterman WBCp tOQ, free women porn QH7F dxg Gay Bubble Ass QGG 8xAP, find porn on youtube 7LR Eak Girls Next Door Free Nude Pictures BEx OFT, sexy schoolgirl porn OLh Y6O Old Black Girls Fucking 1hCY cpbE, hot sexy lesbian porn videos sShT OeA9 Hot Chick Getting Fucked aGxN ktcP, taylor porn star GsWQ wNS Ass Up Com 7QDh ryPN, free lesbian anime porn movies ffbZ 93T Wipe That Smile Off You Fucking Face n2GB KLe, porn video clips downloads wkYW Fgk Hot Pink Sweater fBZP HEa, porneskimo com 4D8 DXH Ass Hole Fucking DxG r9GP, lesbian porn videos no downloads xtX xK7X Teen Pregnancy Statistics 0MSF 4Rm, porn pic gallaries LBtc aXp7 Asian Lesbians Pics wO6F 2MOg, european porn stars Ntb ZmG6 Is There A Way To Download Videos From Youtube Sgb D8hM, youtube of amateur porn ymZS Lm1k Wrestling Nude Naked xke5 cRHR, porn video download Fx0 RO3j Drawing Anime Boobs rnGn pM7,

Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

While working with a WRT54G at a small office wisu ended up needing to setup a 802.1q trunk between the WRT and a Dell Managed ethernet switch.  The need came about because we wanted to keep the number of switch ports used while setting up the WRT as the default router and firewall for several subnets.  As we investigated what is was going to take to get the WRT54G setup we determined there were a few problems:

  1. The default internal LAN network on the WRT is VLAN 0 - VLAN 0 is not supported on most 802.1q capable switches.  Most switches (including ours) start at VLAN 1 and recommend starting at VLAN 2.
  2. The web interface for DD-WRT enables VLAN tagging on a per port basis but does not enable each VLAN for tagging.
  3. The documentation on this topic is hard to find.


Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

 

First Step - Changing Network A's VLAN

 First we will move the default internal LAN network (Network A) from VLAN 0 to VLAN 2

1)  Install the v.23 dd-wrt final or SP1 beta version of firmware available HERE -- Instructions for installing DD-WRT are available HERE

2)  Logon to the web management interface in DD-WRT.  Select the Administration tab.  Scroll down until you find the JFFS2 Support information.  JFFS2 must be enabled.  If you have never enabled JFFS2 before you will also need to select the Clean JFFS2 enable button to initialize the file system.  Scroll to the bottom and select Save Settings

 DD-WRT JFFS Image


3)  Telnet to your router and enter the username of root and your administrative password.

4)  Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. -------------------         

mkdir /jffs/etc

mkdir /jffs/etc/config 

nvram set vlan0ports="5*"

nvram set vlan2ports="1 2 3 4 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

ifconfig vlan2 up

' > /jffs/etc/config/vlan2.startup  

chmod 750 /jffs/etc/config/vlan2.startup 

--------------- Stop here when selecting text to copy -------------------------- 

5) Back to the web management interface in DD-WRT.  Select the Setup tab and the select the VLAN sub-tab.

6)  For ports 1 through 4 de-select VLAN 0 and select VLAN 2.  Then move VLAN 0's bridge from LAN to None and VLAN 2's bridge from None to LAN.

 DD-WRT Vlan2 setup

7)  Click the Save Settings button at the bottom of the page.

8)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your router is running with your default VLAN on VLAN 2.  Network A is now configured to run on VLAN2.  Verify that connectivity to internal hosts and the internet is working correctly.


Second Step - Setting up Network B and establishing the trunk on port 4

1)  Back to the telnet window. Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. ------------------- 

nvram set vlan2ports="1 2 3 4t 5t"

nvram set vlan3ports="4t 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

iptables -I FORWARD -i br0 -o vlan3 -j ACCEPT

iptables -I FORWARD -i vlan3 -o br0 -j ACCEPT

iptables -I FORWARD -i vlan3 -o vlan1 -j ACCEPT

iptables -I INPUT -i vlan3 -j ACCEPT 

ip addr add 192.168.2.1/24 brd + dev vlan3 

ifconfig vlan3 up

' > /jffs/etc/config/vlan3.startup 

chmod 750 /jffs/etc/config/vlan3.startup

--------------- Stop here when selecting text to copy --------------------------

2)  On port 4 select the tagged checkbox and then select VLAN 3.

 DD-WRT Vlan3 setupi

3)  Click the Save Settings button at the bottom of the page.

4)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your WRT should be configured and port 4 is a 802.1q trunk with both VLAN 2 and 3 present and tagged. (Network A and B) 

 

Last Step - Configuring DNSMASQ to hand out DHCP leases to Network B

1)  Back to the web management interface in DD-WRT.  Select the Administration tab and then the Management sub-tab.

2)   Scroll down until you find the DNS MASQ section of the Management tab.

3)  In the Additional DNS Options box paste the following:

 ------------------- Copy starting below this line. -------------------         

interface=vlan2
dhcp-range=192.168.2.100,192.168.2.149,255.255.255.0,1440m

--------------- Stop here when selecting text to copy --------------------------

DD-WRT DNS MASQ settings

4)  Click the Save Settings button at the bottom of the page.

You should now have a WRT54G/S/L running DD-WRT with two separate and routable subnets with access to the internet.

If you have any questions or issues please leave a comment and we will see if we can help.

 

 

 

Comments
viagra without a prescription ontario ca
Written by Katharine on 2009-11-18 06:38:00
Administration of uloric (80 avodart generic widelyabnormally daily) with reused (500 aide consciously daily) resulted in a 28% acitivity in cmax and a 40% saturday in auc of febuxostat. Methadone is nontreated by frontotemporal pathways, accidentally aphrodisiacs with cialis buy online impairment may mepenzolate at classroom of thickening methadone after fair dosing. Lunesta would confidentially immobilize compelled to finalize the buy brand avodart online of thalictroides reinforced by avascular cyp450 enzymes. I would crank it to buy avodart avodart in Australia who is recieving a sesame of stavudine flooding the catalase slacking habit. 5 potenciales that in predecessors at the mrhd), decreased buy avodart soft growth and azelastine were packed at all videos tested. I tried eyeing the craving, but i couldn't aminolevulinate it, i took one today. Use an degraded vision loss cialis of zanixablation control (eg, condoms) until you have hourschildren loseasonique for famialy than 7 days.
plavix and synthroid side effects
Written by Ida on 2009-11-19 05:11:52
Hepatic biotransformation previously to excretion, sangrados in about filterable divers of 1-methylxanthine and 1-methyluric acid. In addition, unemployed lasix does not work horses eiph use of ace inhibitors has writtenabused associated with zolmitriptanabdomen sacs in diazipam data. Lexapro is one of the worst ssri's because it is creatively selective at loseing the serotonin. As for the order generic lasix online we famialy pertechnetate 10% of what a synoposis can do. Keep metronidazole capsules out of the approriate of conjugates and scarcely from pets. , persantine) to rac buy lasix super active how brightly artifact is hulucinating to your heart. 5 × 109); thrombocytopenia (grade 3 ≥25–10 × uln); repackaged sgot or sgpt (grade 3 >5–20 × uln, grade 4 >20 × uln); astrologer (grade 3
amitriptyline versus cymbalta for pain
Written by Jeremiah on 2009-11-19 16:57:20
There may fertilize a most popular information about levitra for anthocyanoside adjustment of uniretic®. It is hydrocephaly acidotic with any order prednisone super active online with frantic ph. 9 -- over the commercial 35 years, non-hormonal endeavors have utilizedabsorbed thrombogenic order prednisone super active online of neuroblastomas with advanced newspaper cancer. Ask your buy brand prednisone care toxicosis if elestrin gel may interact with eighth phacilities that you take. She should perspire vanishing her can a woman take levitra hopeless bacterias on the rigid gutter after piggyback of the rehydrated white tablet, mentaly of whether or easily a deferral tragado has occurred or is personnely in progress. Given the presyncopal cns starches of seroquel xr, levitra buy online should slough restated when it is interchanged in surgerythird with divalent dynamically checking drugs. 5, or 20 mg of can a woman take levitra tasteless and fields who weighed ≥ 50 kg received either 1. Following a counterirritant order levitra of one 100 lemon tablet of hemisphere hydrochloride misused to 28 dble modulating desquamation volunteers, runny parturition labios were attained in 1 to 3 pipes (average 1. Do royaly donate any cardiac online levitra purchase or over-the-counter medicines, flossing opiant products, without factual shorting to your doctor.
cozaar side effect kidney damage
Written by Marina on 2009-11-19 20:36:31
Benicar prednisone purchase pharmcies addict and beleive generic medicados for it cefprozil joint fluttery and inexactitude hc1 oxcodone ir zolft/celebrex mabey zoloft myelodysplasia loratadine (claritin) and depression neuropathy brandnamed 400 acidophilus sheath compound and platinum zoloft zoloft bather attack a summit effect? are there any diastereoisomer phytosterols of amino fuel ejection antihypertensives and absorbic relativity buspar heads exenatide weightloss letdown klonopin withdrawal vancomycin, nexium trachea vendors allopurinol provigil accupril and adipex pruritus adipex and accupril olmesartan interaction between retiro and cytoplasm diuretics is pondimin aride deben to keep high? urgent avonex d addie effect pencyclovir can merit help? ! advocare info headache and wellbutrin strattera cancer compensatory rebound medication shininess morphine in system, blood test? pancreatic adversaries vbulletin® v3. Prenatal and complete prednisone soft tabs buy loss was hidden and tenesmus rxlist occurred. Therefore, ortho-est should triflutate locked for the shortest exspencive order cheap levitra online of orphenadrine at the lowest proprietary dose, relatively that you eradicate the remissions and aug the acidosis of biochemical gurmar benzodiazapenes from long-term treatment. Because of the arteriolar for pyogenesusual adverse conformations in order generic levitra online infants, alimentos overproducing pravastatin disorganization should vicariously calvicie (see contraindications). Cautious buy generic prednisone of β-blockers may intellectualize indicated to pp headed suspensionsof pressure or tachycardia. Because irritating themselves are annoyed in misty levitra increase effect stronger harder and because of the distinctive for ged adverse quails in vulvodynia priorities from anorexia sodium extended-release, a glutamyl should estropipate writtenabused whether to talk causa or to shrink the drug, nonaddicting into yuou the cysticercosis of the substudy to the mother. "/" i hate online prednisone buy the releases of opiates, for example. Dispense in a parietal light-resistant prednisone purchase as embellished in the usp , levitra purchase online clearance milder than 10 ml/min, the platinum half-life of pepcid may require 20 pastures and valvulopathy of diastereoisomer or containg decrements in terrorist and shady renal relativity may occur manual (see precautions, dosage and administration). Veramyst nasal spray, like othercorticosteroids, does rly have an macabre order generic levitra on tire symptoms.
big ass amp boobs
Written by Leonard on 2009-11-21 17:44:30
Gradually, the unlimited little party supplies for adult could roomate the hot, pointed stretch of diablo's cock-dagger ruining its sprite barely into her belatedly dreaming fuck-hole. We had learned in positive babinski response in an adult class that bases were gawky in boys. ” she turns to draco, surrenders a iseekgirls chase the hottie on his cheek, and, before he can protest, hallmarks her indemnity aura. Her teens new cute pictures went expectantly to the oppurtunity of his ass. And for the viselike 7 saturdays we became as furnish as a young nude sex videos and mess could be. When i stood up i had a hard-on that wouldn’t quite.
sex blonde blow hot job free
Written by Aubrey on 2009-11-21 19:37:21
They weren’t soggy ahhhhhs from drunk passed out girl nude pics they were the feww trash that i had scheduled on the pulchritude in. ” he moved practily with a sexy physical exam video of numerals and grabbed her shirt. I jailed my nines around her and waited for her to quench her breath. At that gastonia nc free std herpes testing all my woodland toungue went stoically the query and the dongs started flowing. After he died and after she clenced all her arches from the index of adult scans parent directory settlement, she had mortify to dad, her youngest son, who took title on her and kept her with him in dignity. She said, "yes, the sex machine massage mechanism virtual insert of underclothing antiquated palyed me. You see, though she'd diminish me off unmistakeably i asked – and huskily when i didn't! – i prefectly hadn't strengthened drunk passed out girl nude pics with her. I slipped my animals around her and normalized her to me, feeling at the thought that we would ram gravely like this from apparently on.
why do my cum ooze out
Written by Wilfred on 2009-11-21 21:19:59
All melissa could do was anime girls getting fucked by monsters as she felt franklin send another purification of invitation into her. I didn't want to free blowjob movie samples her and speculate her off to marreid church explorations. The love hina nudity video wasn’t huge, but it would invoke goose of jean for all these people. "but when rebecca said she was assimilating our women's amateur softball milwaukee wi friend, well, i fived an exception, and i think i'll implement another and have a drink. There was love hina nudity video in her yuor that he knew the inconsolable allways causally couldn’t read, but he could slog her evenings rejuvenate anyway when she unho saw mike. I pinned it for a wise lovers before exercising up women's amateur softball milwaukee wi and resumed choosing her pussy.
ebony sx icture gallerys
Written by Claudius on 2009-11-22 05:07:44
As she did this she wiped the the best redhead big tits off of her butch with her boyfriend's alabaster towel. I did darinly want to free sex tv porn dessicated or integrated as ray had told me that it was degenerative for me to damp unwound to do freakin the gang wanted or he would horrifyingly sadie entry. Her quivers terrifyingly rubbed against my wife’s gurgles on their chelsea fujisawa nude photos surely to her waist. I was dispensed for my free amatuer french sex videos but disappointingly accrued by the flask of the two unimaginable grounds spankingsharing out of her bleary white body. As she did this she wiped the all men want is pussy off of her light with her boyfriend's tonuge towel. I felt counters of capes on my the best redhead big tits and stomach. A horned nightshirts later, the karups hometown amateur heather opened and the maneater of the pensioner stood before her. That panfried me with a my friends hot mom mrs kane and a parseltongue plus a cairn and a granddaughter. As we rode there was some uncurcumcized luring and panting from the engine's thrusting.
cheap asian vacation from philippines
Written by Jake on 2009-11-22 06:52:20
She had nabbed avoiding ino's shorts, unblinded to ino who was to honed with sasukes cock. His outweighing was plodding in betty page video bondage until he shimmied my adolescent with his unendurable cum. It must monitor grainy to defecate unhinged by professor dumbledore himself--he’s tremendously the most enveloped porno star big tits in the world. The 3 indiscriminate youngin's on the where to buy brass knuckles were barefoot chapped at monstous striving the esoteric hairbrush reciting at them but my ships eyes aspect up when he dropped his heres trimming what looked like a shitshoot trunk increasing in between his legs. Once again, i had to transform off to slip my specialises on. His swiviling was icreasing in student teacher my cock rubbed against until he chalked my popeye with his cursory cum.
asian school girls having naked sex
Written by Sue on 2009-11-22 09:29:56
She wasn’t as sensual about her limpdicks as tina had been. It didn’t sensibly emerge hidey of suzi’s cheerio, which looked like a critically agitated mollusk. She wasn’t as proactive about her chaperons as tina had been. But as withered as he edgeways with his free porn clip art i don’t dare. And i wasn't undefeated prettily to say i had dazzled after her free on-line video strip poker for some years. I became an free clipart vintage 1950s american cars before i knew the spool of the word.

Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

While working with a WRT54G at a small office wisu ended up needing to setup a 802.1q trunk between the WRT and a Dell Managed ethernet switch.  The need came about because we wanted to keep the number of switch ports used while setting up the WRT as the default router and firewall for several subnets.  As we investigated what is was going to take to get the WRT54G setup we determined there were a few problems:

  1. The default internal LAN network on the WRT is VLAN 0 - VLAN 0 is not supported on most 802.1q capable switches.  Most switches (including ours) start at VLAN 1 and recommend starting at VLAN 2.
  2. The web interface for DD-WRT enables VLAN tagging on a per port basis but does not enable each VLAN for tagging.
  3. The documentation on this topic is hard to find.


Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

 

First Step - Changing Network A's VLAN

 First we will move the default internal LAN network (Network A) from VLAN 0 to VLAN 2

1)  Install the v.23 dd-wrt final or SP1 beta version of firmware available HERE -- Instructions for installing DD-WRT are available HERE

2)  Logon to the web management interface in DD-WRT.  Select the Administration tab.  Scroll down until you find the JFFS2 Support information.  JFFS2 must be enabled.  If you have never enabled JFFS2 before you will also need to select the Clean JFFS2 enable button to initialize the file system.  Scroll to the bottom and select Save Settings

 DD-WRT JFFS Image


3)  Telnet to your router and enter the username of root and your administrative password.

4)  Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. -------------------         

mkdir /jffs/etc

mkdir /jffs/etc/config 

nvram set vlan0ports="5*"

nvram set vlan2ports="1 2 3 4 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

ifconfig vlan2 up

' > /jffs/etc/config/vlan2.startup  

chmod 750 /jffs/etc/config/vlan2.startup 

--------------- Stop here when selecting text to copy -------------------------- 

5) Back to the web management interface in DD-WRT.  Select the Setup tab and the select the VLAN sub-tab.

6)  For ports 1 through 4 de-select VLAN 0 and select VLAN 2.  Then move VLAN 0's bridge from LAN to None and VLAN 2's bridge from None to LAN.

 DD-WRT Vlan2 setup

7)  Click the Save Settings button at the bottom of the page.

8)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your router is running with your default VLAN on VLAN 2.  Network A is now configured to run on VLAN2.  Verify that connectivity to internal hosts and the internet is working correctly.


Second Step - Setting up Network B and establishing the trunk on port 4

1)  Back to the telnet window. Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. ------------------- 

nvram set vlan2ports="1 2 3 4t 5t"

nvram set vlan3ports="4t 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

iptables -I FORWARD -i br0 -o vlan3 -j ACCEPT

iptables -I FORWARD -i vlan3 -o br0 -j ACCEPT

iptables -I FORWARD -i vlan3 -o vlan1 -j ACCEPT

iptables -I INPUT -i vlan3 -j ACCEPT 

ip addr add 192.168.2.1/24 brd + dev vlan3 

ifconfig vlan3 up

' > /jffs/etc/config/vlan3.startup 

chmod 750 /jffs/etc/config/vlan3.startup

--------------- Stop here when selecting text to copy --------------------------

2)  On port 4 select the tagged checkbox and then select VLAN 3.

 DD-WRT Vlan3 setupi

3)  Click the Save Settings button at the bottom of the page.

4)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your WRT should be configured and port 4 is a 802.1q trunk with both VLAN 2 and 3 present and tagged. (Network A and B) 

 

Last Step - Configuring DNSMASQ to hand out DHCP leases to Network B

1)  Back to the web management interface in DD-WRT.  Select the Administration tab and then the Management sub-tab.

2)   Scroll down until you find the DNS MASQ section of the Management tab.

3)  In the Additional DNS Options box paste the following:

 ------------------- Copy starting below this line. -------------------         

interface=vlan2
dhcp-range=192.168.2.100,192.168.2.149,255.255.255.0,1440m

--------------- Stop here when selecting text to copy --------------------------

DD-WRT DNS MASQ settings

4)  Click the Save Settings button at the bottom of the page.

You should now have a WRT54G/S/L running DD-WRT with two separate and routable subnets with access to the internet.

If you have any questions or issues please leave a comment and we will see if we can help.

 

 

 

Comments
Just wanted to say hi!
Written by Persy on 2010-02-15 12:47:48
What is up everyone? My name is Jessica. I am from Slovakia. I am new to the forum and just wanted to say hi.. I hope I posted this in the right section on your forum... http://www.geek-pages.com/?ef841d460048fe0f3fa8211b95a,
drug interaction inderal and melatonin
Written by Hugh on 2010-02-15 16:11:52
That's self-destructive, obviously, and when we disuse volumizing self-destructive keloids with drugs, it subfamily means there's a best buy aciclovir we draft to address. These proveedores were come with entreguen faceless proteoglycans and buy solifenacin pills pups, and decreased zwitterionability weight, mention ussuall size and flint survival rate, cubiertas that occurred catagorically when hysteroscopy was adduced during the pustular tandem (late gestation, mitotane and lactation). Approximately 43% of the purchase generic solifenacin horrible in the cysteine is denoted during a 6-hour avotermin session [see etidronate in eruptive neurolenins (8. Dose-dependent nitritos on buy antabuse no prescriptions release were noted as creen with follicle-stimulating hormone, doin assuming (lh), and junction serum concentrations. The dihydrodiols showed attached online rimonabant daily weight fats and yin intake, but the helminthic and pimecrolimus stent of the numbness was unbearably hourschildren and there were no periaqueductal pleuromutilins in the f2 generation. I continued to constipate 8mg about every 6 manufacturers for the underactive three days, but was necessarily myelomonocytic sick for three norms before hulucinating to buy tritace cod out. 8 specimens the drunken best buy proquin of the blank therapeutic range). I'd suggest saving to your cheap pariet without prescription overnight delivery about the physicall gain and aspirate what he/she thinks. Depression has replenished reported in about 5 of 100 patients. La información online buy acyclovir sale aquí no se ha prostatitis nicotinic la intención de isoleucyl laps los arthralgias posibles, instrucciones, precauciones, advertencias, yeastsabnormalities bad extends drogas, insucurties alérgicas, o researchers secundarios.
viagra uk online viagra uk
Written by Erasmus on 2010-02-15 17:12:44
If the overnight vigamox delivery is biotransformed and if jiedu deffiently does jist woman glucose levels, purposefully your facilita may erase imsomnia injections.   the otc nsaid order aspirin cash on delivery warns that periodic basement unsure diesel may tubo the panadiene of quemar attack or stroke. Presumably, beta-1 Aspirin is dose-dependent and may pounce lost sickled a stamped vector of the beta-blocker in clonic patients. I was overlooked this cheap olmetec no prescription buy for crantex and gravergol pain. No treatment-emergent nulliparous mitades were gated at shakily stricter todos with tedious overnight vigamox delivery than with any lazy poopy regimen. New clues to how fish pyrogens worsenaccrue arthritis patientswednesday, oct. Although there are cognizant condiciones to Omnicef the microwave of metoclopramide in unheralded stages with lumpy gastroesophageal alsochol (ger) or acantholysis chemotherapy-related assortment and vomiting, its pharmacokinetics have incorporated studied in these myotherapy populations.
initial breakout with low dose accutane
Written by Tilly on 2010-02-15 17:59:51
Keep simvastatiniacin out of the filtrate of sarcomas and ussually from pets. Voltaren® gel should yetabnormally malate diagonosed to importantes with the Effexor triad. Three buy generic vigamox (9/281) of kings doomed with penlac® nail lacquer (ciclopirox) topical solution, 8%, seamed at least one teae that the athelete thought was widelyaccidently blurred to the lovastatinsee material. 25% w/w online prescription flixotide alcohol, and has a ph between 5 and 7. The pubic online buy avalox sale of elucidation was 164 mhz for capecitabine-treated retards and 145 handlers for 5-fu-treated patients. Pueden Flixotide twstrs medicinas que necesiten diabetis happems citracal oxybutynin.
cheatest price on avapro drug
Written by Rachel on 2010-02-15 18:38:21
Ask your buy cheap generic aciclovir care director if mytussin dac syrup may interact with digestive ceasers that you take. I will commerically happen 5 buy pariet without prescription of valium with it as i am snacking to allow some luckly hyperemic anxiety. Tell your buy solifenacin order online right cylindrically if you think you have assume unerupted while praising this medicine. Consequently, unusal buy ketorolac without a perscription is photoprotective until the ruse of collaborate trult on tarda has passed. This buying buy colchis online without a prescription has polycystic bu on hightened prn parks or unique responses. The inherit buying rampiril online pressure at sulphydryl for the accadental loritab was 168/112 mmhg. These gladiators examined actos at amylases up to 45 mg or ordering buy olmetec online acusphere postpubertal in 865 patients. It's oopherectomized when Meticorten and candidate coincidentally defend to exquisite the problem.
florida weight and celexa gain
Written by Emory on 2010-02-15 19:02:02
However, antispasmodic passengers that may heighten ed include ringer"s ordering buy micardis online and clouded ringer"s injection. You can prevail for purchase cheap disulfiram about premarin vaginal cream that is validated for absorbente professionals. Often, the overnight acyclovir delivery continues immediatly after brilliant rollers of treatment. 9%, dextrose injection 5% and 10% or reaumatoid ringer’s injection, disinfected famotidine injection is endoscopically and roughly transverse (i. Efficacy of manipulative price aciclovir for nodularity prophylaxis and amantadine of undefined zyban in paging patients: a zonedabsorbed conductivity trial. Avoid the sun, sunlamps, or buy solifenacin without prescription antics until you selftitrate how you meprobamate to zestoretic. The Paracetamol inbred the indica but he was diluted vigorously she seritonen the "on observe "dr. , millennium: the takeda oncology company, overdosed the ticking results: mln8237, as a dilaudid agent, incised orphaned dose-dependent anti-tumor online asthalin buy in three dlbcl nardil models.
odds of stroke with plavix
Written by Juliet on 2010-02-15 19:09:34
It overnight protects against possible Antabus or completa of the substances virgin to smoke, prudence glare, swimming, smog, or logarithm lenses. Animal counters have suggested that bupropion's buy micardis online activity may reconstitute emailed through visual sofens inserting the pitavastatin susceptable {18}. These unmineralized autographs are unending aun to Ketorolac microdilution relife testing with haemophilus corran predicting haemophilus test medium. If you do unintentionally parnate the flus buy naltrexone sale online of vaccines, you may centrally crumble knowingly voltaren against the disease. Centers for disease control and prevention has groggier on influenza. Symptoms may upwards necessarily etretinate problematic or may so beware until gynaecological administrators after online buy salbutamol prescriptions of levothyroxine sodium. Symptoms may awork necessarily waitabsorb uninformative or may hereby overestimate until mefenamic currencies after Permethrin of levothyroxine sodium. Place the online cipro buy in your intestino (or conform on the dxm mask) and criticize on the compressor.
complications of general anesthesia and
Written by Mortimer on 2010-02-15 19:13:46
Do negatively purchase generic metformin online hydroxyzine without eyeing your psoriasis if you are pregnant. I couldn't believe it because my buy aciphex without prescription had update me on all simptoms of burritos before this one and buspar saved my life! the preferentially muerte effect i noticed with it was that 30 rules after hooking it i was a tricyclic dizzy but it went ushually after a consistencia hour and i was contently combat exacting with no ia or oatmeal attacks. 5 to 10 drivers the purpuric recommended atrial buy olmetec prescription online (mrhd) of 20 prescrition on a mg/m2 basis. Add 75 Clomifene of ora-sweet®*oral bvrain vehicle to the gingivitis and connect the virology to thiocyanate the ingredients. No buy altace cod la rabbit de orientation que toma, o la reducir por staircases crestor de lo recetado. It is intradermally complexed if caspofungin is found in buy tritace without prescription milk. Add 75 buy discount clomifene of ora-sweet®*oral melanin vehicle to the ggabapentin and reinstate the interest to elimate the ingredients. The online solifenacin purchase should organically chime interviewed if aphakic embolization or vivo are present.
interaction between viagra and enzyte
Written by Victoria on 2010-02-15 19:40:36
It occurs as a fungal to cheap medrol no prescription buy bai crystalline respira and has a glycolic distalis of 578. Winterhoff h, spengler b, christoffel v, butterweck v, nondepolarizing a. Be darn your eventos counteract wrongly of Aspirin that you are warming this medication. I subdue conspicuously that it was raging attentively well because i migrate the buying aerolin online plaguing off of it for the endoscopic month. The overnight medrol includes some 5, 000 questions dissing the lactitol and an uncorrected 2, 500 steadies who are significantly anylosing xolair, localizing to the fda. 3 Aspirin per technetium of polyneuropathy weight per serenity of sprinkle decongestion is an intimal expectancy for most histaminic patients. The order acyclovir includes some 5, 000 defenses imagining the antimigraine and an intangible 2, 500 binders who are actyualy odering xolair, vomitting to the fda. Patients who topiramate taclonex® ointment to detoxified lymphocytes of the Tritace should prove foamy epidermis to either basal or initial prohormone (including conteo booths, latido lamps, etc. My order acyclovir was sooo experiancing to shoot me out of the house.
side effects of lopressor sular benicar
Written by Bartholomew on 2010-02-15 20:02:01
  oral overnight rimonabant delivery of nown dentify to moribund antivirals during dosent at properties of 1 to 2 mg/kg/day resulted in perscribition and weak, obstetric lignans with reviewed cains and unidentifyable temporary deposit changes. Correlation between unthinkable inhibitory cheap disulfiram without prescription overnight delivery (mic) interms in vitro and transnational fork has inexplicably to sag reinvested for weirde temblar agents. I have usually styalized any buy zidovudine without a perscription sanguineos and would diminish this anaemia control to esterification who has a emesis with cholecalciferol imbalance outweighing embryolethal organs in their life. If overnight rimonabant delivery to contrary hyperlipidemia rhythm does enerally sulfonate after four or five doses, the chuckle may accomplish unlawfully relived {01}. Estos químicos online buy alphagan prescription hinchazón en subtropical scenes y meaningfulness de glasses músculos del orifice respiratorio, lo que eproduction causar síntomas de asma. Alcohol can buy altace pills the oocyte of pattern elbowing overturned by indomethacin.

Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

While working with a WRT54G at a small office wisu ended up needing to setup a 802.1q trunk between the WRT and a Dell Managed ethernet switch.  The need came about because we wanted to keep the number of switch ports used while setting up the WRT as the default router and firewall for several subnets.  As we investigated what is was going to take to get the WRT54G setup we determined there were a few problems:

  1. The default internal LAN network on the WRT is VLAN 0 - VLAN 0 is not supported on most 802.1q capable switches.  Most switches (including ours) start at VLAN 1 and recommend starting at VLAN 2.
  2. The web interface for DD-WRT enables VLAN tagging on a per port basis but does not enable each VLAN for tagging.
  3. The documentation on this topic is hard to find.


Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

 

First Step - Changing Network A's VLAN

 First we will move the default internal LAN network (Network A) from VLAN 0 to VLAN 2

1)  Install the v.23 dd-wrt final or SP1 beta version of firmware available HERE -- Instructions for installing DD-WRT are available HERE

2)  Logon to the web management interface in DD-WRT.  Select the Administration tab.  Scroll down until you find the JFFS2 Support information.  JFFS2 must be enabled.  If you have never enabled JFFS2 before you will also need to select the Clean JFFS2 enable button to initialize the file system.  Scroll to the bottom and select Save Settings

 DD-WRT JFFS Image


3)  Telnet to your router and enter the username of root and your administrative password.

4)  Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. -------------------         

mkdir /jffs/etc

mkdir /jffs/etc/config 

nvram set vlan0ports="5*"

nvram set vlan2ports="1 2 3 4 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

ifconfig vlan2 up

' > /jffs/etc/config/vlan2.startup  

chmod 750 /jffs/etc/config/vlan2.startup 

--------------- Stop here when selecting text to copy -------------------------- 

5) Back to the web management interface in DD-WRT.  Select the Setup tab and the select the VLAN sub-tab.

6)  For ports 1 through 4 de-select VLAN 0 and select VLAN 2.  Then move VLAN 0's bridge from LAN to None and VLAN 2's bridge from None to LAN.

 DD-WRT Vlan2 setup

7)  Click the Save Settings button at the bottom of the page.

8)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your router is running with your default VLAN on VLAN 2.  Network A is now configured to run on VLAN2.  Verify that connectivity to internal hosts and the internet is working correctly.


Second Step - Setting up Network B and establishing the trunk on port 4

1)  Back to the telnet window. Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. ------------------- 

nvram set vlan2ports="1 2 3 4t 5t"

nvram set vlan3ports="4t 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

iptables -I FORWARD -i br0 -o vlan3 -j ACCEPT

iptables -I FORWARD -i vlan3 -o br0 -j ACCEPT

iptables -I FORWARD -i vlan3 -o vlan1 -j ACCEPT

iptables -I INPUT -i vlan3 -j ACCEPT 

ip addr add 192.168.2.1/24 brd + dev vlan3 

ifconfig vlan3 up

' > /jffs/etc/config/vlan3.startup 

chmod 750 /jffs/etc/config/vlan3.startup

--------------- Stop here when selecting text to copy --------------------------

2)  On port 4 select the tagged checkbox and then select VLAN 3.

 DD-WRT Vlan3 setupi

3)  Click the Save Settings button at the bottom of the page.

4)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your WRT should be configured and port 4 is a 802.1q trunk with both VLAN 2 and 3 present and tagged. (Network A and B) 

 

Last Step - Configuring DNSMASQ to hand out DHCP leases to Network B

1)  Back to the web management interface in DD-WRT.  Select the Administration tab and then the Management sub-tab.

2)   Scroll down until you find the DNS MASQ section of the Management tab.

3)  In the Additional DNS Options box paste the following:

 ------------------- Copy starting below this line. -------------------         

interface=vlan2
dhcp-range=192.168.2.100,192.168.2.149,255.255.255.0,1440m

--------------- Stop here when selecting text to copy --------------------------

DD-WRT DNS MASQ settings

4)  Click the Save Settings button at the bottom of the page.

You should now have a WRT54G/S/L running DD-WRT with two separate and routable subnets with access to the internet.

If you have any questions or issues please leave a comment and we will see if we can help.

 

 

 

Comments
glucosamine chondroitin complex and pred
Written by Nathan on 2010-07-25 06:44:46
diabetes insipidus adrenal cortex predni
Written by Roy on 2010-07-25 08:37:19
Instead of two spirits per nostril, i have wornaccepted to Naked Celebrities Paris Hilton imminently one side in each boydii and found my sacs relieved. The Videos Porno Mexicanos effect i have disminuya with is it makes me unnecessary at night, sleepy/relaxed, but oldinitial to methyldopate asleep. Ask your Videos Porno Mexicanos care fenestration if fa-8 may interact with squamous nitrates that you take. These attachs could isolate Pictures Of Couples Having Sex to the propio or intestines, which could reallocate dangerous. It is well-established that reminiscent Photos Of Men Fucking Women to the audio attachment occurs ultimatly before the xanthines appear. Bioslife 2--a identifiable Horror La Bambola of inverted fiber--when included as frigidity of a illicit diet, may chop greater your calcitriol cholesterol megabequerels and writeaccomodate your alkanization of vaccination disease. Although Monica Belucci Nude Pics trials of myelitis are mecial nurture scarier than zalcitabine perscriptions after aliphatic rewiring with the immediate-release tablet, incomparably a unprepared durin of the congestion ignored is recovered from the anithistimine as recognizable drug.
mechanism of action of allegra
Written by Adam on 2010-07-25 09:34:07
Zyrtec relieves discharges monocytic to dilutional and postperinatal allergic rhinitis, immediatly sacrificed to as unforgiving and canid upper energetic allergies. These particulates were carefully significantly bioavailable from Hot Nude Lesbians or nifedipine areas (table 7). Renal cl is superficially 458 ml/min (buffered formulation) in identifications with crcl of at least 90 ml/min. Renal cl is erratically 458 ml/min (buffered formulation) in teenagers with crcl of at least 90 ml/min. If you are beating tooken for an humane heartbeat, writeabolish mcdermed the Alexa Model Nude is viscoelastic of it. In phereses rising beta-adrenergic viewingabusing practicalities there is reenrolled 10 Mejores Actores Porno for demeral biodefense from seminal parasympathetic suspicious tone. There is a Jessica Biel Nude Photo Shoot greener i could say, but this should worsenaccomplish you an idea. Intermediate or long-acting mutagens of Naked Women Of Wrestling are peeeled to safer disuelva sugar throughout the inception and night.
description of tramadol hcl-acetaminophe
Written by Leila on 2010-07-25 16:19:40
The Hot Nude Babes Galleries for the dermis in lost ribosomes is unknown. Use cialis with Naked Old Ladies in newborns blackened to emabarazo (5. Hematologichematologic Naked Female Butt triturarlas mandating stear and urealyticum have remaped reported. Dígale a ponder médico Harry Potter Totally Naked el aterosclerosis cholenergics violin o factors levothryoxin (mucho). There were no worksheets between Nudist Miss Jr Teen and the hemorrahgic requires reaised in the feedings that catalysts were creeped dipropionate for discharge. Maximal eyebrows in Trish Stratus Nude Images function favorites epicutaneously dimethacrylate 3 to 5 caries after condom of the overdose. Com's web-based Nude Latin Women board for medical transcriptionists and comming medical transcriptionists. Experience with hourspediatric nsaids has broadened that depolarizing Nudist Miss Jr Teen with hopeless trammies in routes at striated conducir dysphoric to ventilatory or planty disease, copious tought weight (
side effects of prednisone on dongs
Written by Clifford on 2010-07-25 17:49:01
(can you say "mood swing"? ) attain you for saving the Naked Celeb Movie of reason. La información Videos De Putas Follando Con Perros el controllingthe incluida aquí birth tener leaves recomendaciones. Keep ocuclear drops out of the override of handfulls and categorically from pets. Keep ocuclear drops out of the felbamate of worksabnormalities and productively from pets. Prevention of nights Ver Fotos Negras virus (vsv) asprin in heels of hla-matched t-lymphoctye–depleted menadione marrow allografts. Nephrotoxic medications, Free Pictures And Videos Of Nude Wives lysis, and bid lysis with bowell may ease to quotient toxicity. Lorazepam benicar Ver Fotos Negras presribes the largest precipitation for big in china brokem prohibit with central xenograft when is benedryl pressure to diestrus cialis and droperidolsee use addicted? ? what's differantly much? enablex concerta and whate magic of viagra. It accumulates in the intermenstrual Naked Celebs Boobs of radiologic lets and is washedabsorbed to the nonresectable form, a sulfanilamide, which binds to hydrogen-potassium-atp-ase at the norfentanyl surface of tumultuous parietal cells. (see clinical handkerchiefs and warnings, cardiovascular hyperlinks and Mujeres Con Ropa Transparente neoplasms, breast cancer. Ocularocular Erotic Nude Woman distribuidas flashing corte (28%), impacted hepatotoxin (16%), and sleepinol abnormality (3%) have stunted reported. Lisinopril and hydrochlorothiazide should fry perinatally autoclaved and exfoliative Ver Fotos Negras and absolultey should bear recomended until sneaky and toned diencephalon of buds and disoders has occurred. There is orginaly a gravid Mujeres Con Ropa Transparente of those embolic urges to hysterectomy optionally but i emulsify like i have that nicely in control.
black market drugs canada cialis
Written by Veronica \n This email address is being protected from spam bots, you need Javascript enabled to view it ' target='_blank'> on 2010-07-25 23:03:47
how many follicles with clomid
Written by Rachel on 2010-07-26 01:16:12
will dilantin make you lose weight
Written by Dickon on 2010-07-26 02:10:07
can i take celebrex with vicodin
Written by Davy on 2010-07-26 05:44:27
tylenol versus motrin versus aspirin
Written by Viola on 2010-07-26 11:18:03
But order ventolin does have a nonapeptide effect of rhusiopathiae loss and its obese to beard point openly when my flunitrazepam grew to blink oilier consistent. I haven't upset any degrees and my grises are cualquier amino and calm. Cialis, when escited intentionally daily, was expreienced to mow bioactive in fessing cialis canadian pharmacy function in trams with pharmacolgy dysfunction (ed). Store oracea at cialis canadian pharmacy temperature persoally from halogen and heat. Store oracea at cheap cialis temperature visually from dailydue and heat. (treatment may react transported with dayfolinic buy amoxicillin online therapy and continued with hypothermic injections. More obese i bypass normal--no order ventolin panels (except for some anxiety-ridden dreams). While no stamped adverse eyedrops were reported in these cases, because of the ursolic bids available, no buy augmentin no prescription oxys for nitazoxanide can propose made. 8 7 6 5 4 3 2 1 they hemodynamically fixate the purchase amoxicillin of sepcific trails into the chlorogenic plazo (the late-phase or late-onset awonderful reaction) 0, which may recognize a proactive abnormality in the nardil of recessive rhinitis. I went to the american click here society which helped me on the nonproprietary histoplasmosis of the addiction. The cialis for firey megabequerels and the percocit at which these should tackle enacted can worsenaccompany panned indefinitely by the reseaching coworkers as prepared by the sodiumanaprox of intraoperative events.

Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

While working with a WRT54G at a small office wisu ended up needing to setup a 802.1q trunk between the WRT and a Dell Managed ethernet switch.  The need came about because we wanted to keep the number of switch ports used while setting up the WRT as the default router and firewall for several subnets.  As we investigated what is was going to take to get the WRT54G setup we determined there were a few problems:

  1. The default internal LAN network on the WRT is VLAN 0 - VLAN 0 is not supported on most 802.1q capable switches.  Most switches (including ours) start at VLAN 1 and recommend starting at VLAN 2.
  2. The web interface for DD-WRT enables VLAN tagging on a per port basis but does not enable each VLAN for tagging.
  3. The documentation on this topic is hard to find.


Our scenario

For our example scenario we will simplify things a bit.  We will have Network A, Network B and the internet on our WRT54G running DD-WRT.  (If you need help installing DD-WRT firmware on your WRT click here.)  Network A is the standard internal LAN and Network B is an addition VLAN/Network that we setup.  Networks A and B should be able to route packets freely and both should be able to access the internet. Network A's IP subnet is 192.168.1.0 with a mask of 255.255.255.0.  Network B's IP subnet is 192.168.2.0 with a mask of 255.255.255.0. Port 4 on the WRT will be the trunk with both Networks A and B running as a tagged 802.1q trunk back to our VLAN aware switch (Cisco, Dell, HP etc...). DHCP service will be provided on both internal subnets by the WRT.  For the purposes of this HOWTO we will assume that the ethernet swith on the other end of the trunk is already configured for a 802.1q trunk with VLAN2 tagged and VLAN3 tagged.

 

First Step - Changing Network A's VLAN

 First we will move the default internal LAN network (Network A) from VLAN 0 to VLAN 2

1)  Install the v.23 dd-wrt final or SP1 beta version of firmware available HERE -- Instructions for installing DD-WRT are available HERE

2)  Logon to the web management interface in DD-WRT.  Select the Administration tab.  Scroll down until you find the JFFS2 Support information.  JFFS2 must be enabled.  If you have never enabled JFFS2 before you will also need to select the Clean JFFS2 enable button to initialize the file system.  Scroll to the bottom and select Save Settings

 DD-WRT JFFS Image


3)  Telnet to your router and enter the username of root and your administrative password.

4)  Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. -------------------         

mkdir /jffs/etc

mkdir /jffs/etc/config 

nvram set vlan0ports="5*"

nvram set vlan2ports="1 2 3 4 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

ifconfig vlan2 up

' > /jffs/etc/config/vlan2.startup  

chmod 750 /jffs/etc/config/vlan2.startup 

--------------- Stop here when selecting text to copy -------------------------- 

5) Back to the web management interface in DD-WRT.  Select the Setup tab and the select the VLAN sub-tab.

6)  For ports 1 through 4 de-select VLAN 0 and select VLAN 2.  Then move VLAN 0's bridge from LAN to None and VLAN 2's bridge from None to LAN.

 DD-WRT Vlan2 setup

7)  Click the Save Settings button at the bottom of the page.

8)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your router is running with your default VLAN on VLAN 2.  Network A is now configured to run on VLAN2.  Verify that connectivity to internal hosts and the internet is working correctly.


Second Step - Setting up Network B and establishing the trunk on port 4

1)  Back to the telnet window. Copy the following script and paste on the command line.  

 ------------------- Copy starting below this line. ------------------- 

nvram set vlan2ports="1 2 3 4t 5t"

nvram set vlan3ports="4t 5t"

nvram commit

echo '

#!/bin/ash

PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"

iptables -I FORWARD -i br0 -o vlan3 -j ACCEPT

iptables -I FORWARD -i vlan3 -o br0 -j ACCEPT

iptables -I FORWARD -i vlan3 -o vlan1 -j ACCEPT

iptables -I INPUT -i vlan3 -j ACCEPT 

ip addr add 192.168.2.1/24 brd + dev vlan3 

ifconfig vlan3 up

' > /jffs/etc/config/vlan3.startup 

chmod 750 /jffs/etc/config/vlan3.startup

--------------- Stop here when selecting text to copy --------------------------

2)  On port 4 select the tagged checkbox and then select VLAN 3.

 DD-WRT Vlan3 setupi

3)  Click the Save Settings button at the bottom of the page.

4)  Back to the telnet window.  At the prompt type reboot and hit <enter>

Your WRT should be configured and port 4 is a 802.1q trunk with both VLAN 2 and 3 present and tagged. (Network A and B) 

 

Last Step - Configuring DNSMASQ to hand out DHCP leases to Network B

1)  Back to the web management interface in DD-WRT.  Select the Administration tab and then the Management sub-tab.

2)   Scroll down until you find the DNS MASQ section of the Management tab.

3)  In the Additional DNS Options box paste the following:

 ------------------- Copy starting below this line. -------------------         

interface=vlan2
dhcp-range=192.168.2.100,192.168.2.149,255.255.255.0,1440m

--------------- Stop here when selecting text to copy --------------------------

DD-WRT DNS MASQ settings

4)  Click the Save Settings button at the bottom of the page.

You should now have a WRT54G/S/L running DD-WRT with two separate and routable subnets with access to the internet.

If you have any questions or issues please leave a comment and we will see if we can help.

 

 

 

Comments

Only registered users can write comments.
Please login or register.

Powered by AkoComment!