<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dell Switching Archives - Network Guy</title>
	<atom:link href="https://networkguy.de/category/dell-switching/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Share your knowledge!</description>
	<lastBuildDate>Sat, 25 May 2013 10:03:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://networkguy.de/wp-content/uploads/2016/09/cropped-og-image-32x32.jpg</url>
	<title>Dell Switching Archives - Network Guy</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">35051042</site>	<item>
		<title>Router on the edge</title>
		<link>https://networkguy.de/router-on-the-edge/</link>
					<comments>https://networkguy.de/router-on-the-edge/#comments</comments>
		
		<dc:creator><![CDATA[Michel]]></dc:creator>
		<pubDate>Sat, 25 May 2013 10:03:40 +0000</pubDate>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[Dell Switching]]></category>
		<category><![CDATA[HPE Networking]]></category>
		<guid isPermaLink="false">http://networkguy.de/?p=465</guid>

					<description><![CDATA[<p>Good morning everyone! Today I want to explain a configuration for routing internal networks with a layer 3 routing switch and a router for accessing the internet. I call it &#8220;router on the edge&#8221;. The definition &#8220;edge router&#8221; is typically a router running EBGP (External Border Gateway Protocol) so I invent a new definition :) [&#8230;]</p>
<p>The post <a href="https://networkguy.de/router-on-the-edge/">Router on the edge</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Good morning everyone! Today I want to explain a configuration for routing internal networks with a layer 3 routing switch and a router for accessing the internet. I call it &#8220;router on the edge&#8221;. The definition &#8220;edge router&#8221; is typically a router running EBGP (External Border Gateway Protocol) so I invent a new definition :)</p>
<p>&#8220;Router on the edge&#8221; is different to &#8220;Router on a stick&#8221;. The cable-connects are the same but here we will route internal networks with a fast layer 3 switch.</p>
<p>In my example I will configure a Cisco router and a Dell switch as our core-routing-switch. I will also add code for a HP ProCurve switch. First we will plan our current network with three vlans:</p>
<p>VLAN 5 (Door to the Internet)<br />
VLAN 10 (Servers)<br />
VLAN 20 (Clients)<br />
VLAN 30 (Guests)</p>
<p>I don&#8217;t use default VLAN 1 because in case of a forgotten non-tagged port, the device connected to it, will be in this VLAN. Now we will configure the Dell switch with several VLANs. I choose three /24 Class C networks and a /30 network between the core switch and the Cisco router (192.168.5.1):</p>
<blockquote><p>vlan database<br />
vlan 5,10,20,30</p>
<p>ip routing<br />
ip route 0.0.0.0 0.0.0.0 192.168.5.1</p>
<p>interface vlan 5<br />
name &#8220;Door-to-Internet&#8221;<br />
routing<br />
ip address 192.168.5.2 255.255.255.252<br />
no ip proxy-arp</p>
<p>interface vlan 10<br />
name &#8220;Server&#8221;<br />
routing<br />
ip address 192.168.10.1 255.255.255.0<br />
no ip proxy-arp</p>
<p>interface vlan 20<br />
name &#8220;Clients&#8221;<br />
routing<br />
ip address 192.168.20.1 255.255.255.0<br />
no ip proxy-arp</p>
<p>interface vlan 30<br />
name &#8220;Guests&#8221;<br />
routing<br />
ip address 192.168.30.1 255.255.255.0<br />
no ip proxy-arp</p>
<p>interface ethernet 1/g1<br />
description &#8220;Here is the Cisco router connected&#8221;</p>
<p>interface range ethernet 1/g2-1/g10<br />
description &#8220;Here are servers connected&#8221;<br />
switchport access vlan 10</p>
<p>interface range ethernet 1/g2-11/g20<br />
description &#8220;Here are clients connected&#8221;<br />
switchport access vlan 20</p>
<p>interface range ethernet 1/g21-1/g24<br />
description &#8220;This is for guests&#8221;<br />
switchport access vlan 30</p></blockquote>
<p>Routing is now enabled between your networks. You can also configure access-lists for your vlan interfaces. The following allows the dhcp relay option (ip-helper address pointed to your central DHCP server), blocks connection into other private networks connected to the core switch but let all internet traffic through the interface. We will use this for our guests vlan:</p>
<blockquote><p>access-list guests_in permit udp any any eq 67<br />
access-list guests_in permit udp any any eq 68<br />
access-list guests_in permit icmp 192.168.30.0 0.0.0.255 192.168.30.1 0.0.0.0<br />
access-list guests_in deny ip 192.168.30.0 0.0.0.255 10.0.0.0 0.255.255.255<br />
access-list guests_in deny ip 192.168.30.0 0.0.0.255 172.16.0.0 0.15.255.255<br />
access-list guests_in deny ip 192.168.30.0 0.0.0.255 192.168.0.0 0.0.255.255<br />
access-list guests_in permit ip 192.168.30.0 0.0.0.255 any</p>
<p>interface vlan 30<br />
ip access-group guests_in in 1</p></blockquote>
<p>To bring the devices online, we will configure our router like this:</p>
<blockquote><p>interface GigabitEthernet0/0<br />
description Connect to core switch<br />
ip address 192.168.5.1 255.255.255.252<br />
ip nat inside<br />
ip inspect lan in<br />
ip virtual-reassembly<br />
ip tcp adjust-mss 1452</p>
<p>interface GigabitEthernet0/1<br />
description Connect to service provider<br />
ip address 80.60.50.40 255.255.255.0<br />
ip nat outside</p>
<p>ip access-list extended NAT-ACL<br />
deny ip any 10.0.0.0 0.255.255.255<br />
deny ip any 192.168.0.0 0.0.255.255<br />
deny ip any 172.16.0.0 0.15.255.255<br />
permit ip 192.168.0.0 0.0.255.255 any</p>
<p>ip nat inside source list NAT-ACL interface GigabitEthernet0/1 overload</p>
<p>ip route 192.168.10.0 255.255.255.0 192.168.5.2<br />
ip route 192.168.20.0 255.255.255.0 192.168.5.2<br />
ip route 192.168.30.0 255.255.255.0 192.168.5.2<br />
ip route 0.0.0.0 0.0.0.0 80.60.50.1</p></blockquote>
<p dir="LTR" align="LEFT">This also works with a Dialer interface as the default gateway. Keep in mind that you need to configure backward routes to the internal networks via the directly connected core switch and always configure access-lists nearest to the source (so every access-list will be configured and bound in the core switch). The nat overload rule is natting all packets beginning with &#8220;192.168.&#8221;.</p>
<p dir="LTR" align="LEFT">For users with HP ProCurve Switches you can take this config:</p>
<blockquote>
<p dir="LTR" align="LEFT">ip routing</p>
<p dir="LTR" align="LEFT">vlan 5<br />
name &#8220;Door-to-Internet&#8221;<br />
untagged 1<br />
ip address 192.168.5.2 255.255.255.252</p>
<p dir="LTR" align="LEFT">vlan 10<br />
name &#8220;Server&#8221;<br />
untagged 2-10<br />
ip address 192.168.10.1 255.255.255.0</p>
<p dir="LTR" align="LEFT">interface vlan 20<br />
name &#8220;Clients&#8221;<br />
untagged 11-20<br />
ip address 192.168.20.1 255.255.255.0</p>
<p dir="LTR" align="LEFT">interface vlan 30<br />
name &#8220;Guests&#8221;<br />
untagged 21-24<br />
ip address 192.168.30.1 255.255.255.0</p>
<p dir="LTR" align="LEFT">ip route 0.0.0.0 0.0.0.0 192.168.5.1<br />
ip default-gateway 192.168.5.1</p>
</blockquote>
<p dir="LTR" align="LEFT">in case that you are use the routing feature on a HP ProCurve switch, the &#8220;ip default-gateway&#8221; needs to be extended with &#8220;ip route 0.0&#8230;.&#8221; because this is the gateway for all packets routed by the vlan interfaces.</p>
<p dir="LTR" align="LEFT">Feel free to ask and comment this article. I think I will also explain &#8220;router on the edge&#8221; with a Sophos UTM appliance for beeing the way to the internet :) happy weekend!</p>
<p>The post <a href="https://networkguy.de/router-on-the-edge/">Router on the edge</a> appeared first on <a href="https://networkguy.de">Network Guy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://networkguy.de/router-on-the-edge/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">465</post-id>	</item>
	</channel>
</rss>
