<?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>SysAdmin Valley &#187; networking</title>
	<atom:link href="http://www.sysadminvalley.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sysadminvalley.com</link>
	<description>I might as well write this stuff down so I remember it tomorrow</description>
	<lastBuildDate>Wed, 25 Jan 2012 15:06:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fun with WIFI</title>
		<link>http://www.sysadminvalley.com/2010/12/01/fun-with-wifi/</link>
		<comments>http://www.sysadminvalley.com/2010/12/01/fun-with-wifi/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 12:25:42 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=285</guid>
		<description><![CDATA[Do you have people that connect to your WIFI without your permission?  This here&#8217;s a great hack to have a little fun with those people.  If someone connects that&#8217;s unauthorized, the first hack turns all their images upside-down.  The second hack makes all the images blurry. Oh the fun I could have if I had [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have people that connect to your WIFI without your permission?  This here&#8217;s a great hack to have a little fun with those people.  If someone connects that&#8217;s unauthorized, the first hack turns all their images upside-down.  The second hack makes all the images blurry.</p>
<p>Oh the fun I could have if I had spare time.</p>
<p><a href="http://www.ex-parrot.com/pete/upside-down-ternet.html" target="_blank">http://www.ex-parrot.com/pete/upside-down-ternet.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/12/01/fun-with-wifi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Juniper J-Series Routers and VLAN&#8217;s</title>
		<link>http://www.sysadminvalley.com/2010/11/22/juniper-j-series-routers-and-vlans/</link>
		<comments>http://www.sysadminvalley.com/2010/11/22/juniper-j-series-routers-and-vlans/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 13:20:30 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=267</guid>
		<description><![CDATA[Recently I had the need to configure VLAN&#8217;s on a couple of Juniper J2320 routers.  If you talk to a Juniper pre-sales engineer or someone at CDW who are supposed to have experts that know these products like the back of their hand, they will say, of course the J-Series routers support VLAN&#8217;s.  Technically that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had the need to configure VLAN&#8217;s on a couple of <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> J2320 routers.  If you talk to a <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> pre-sales engineer or someone at CDW who are supposed to have experts that know these products like the back of their hand, they will say, of course the J-Series routers support VLAN&#8217;s.  Technically that&#8217;s true, but there are limitations and the pre-sales engineers don&#8217;t know the limitations.</p>
<p>First, you cannot do VLAN&#8217;s on the onboard ethernet interfaces.  Neither <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> or CDW pre-sales engineer&#8217;s knew this.  It was hinted to me after I dug deep with the <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> TAC that onboard NIC&#8217;s can be used for network traffic, but if you&#8217;re doing a lot of things with them they&#8217;re better for management and clustering.</p>
<p>Second, VLAN&#8217;s are only supported on the addon uPIM cards. Again, neither <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> or CDW knew this.</p>
<p>Third, and most importantly, VLAN switching happens on the addon uPIM card and is only supported on 1 uPIM at a time, not on the router&#8217;s backplane.  So if you need VLAN more than 16 ports, then the <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> J-Series routers is probably not the product you want to buy.</p>
<p>I should also say that this router is a great product, I&#8217;ve been using them for two of my datacenters and running BGP between the two datacenters, with a private fiber connection between them and they run beautifully.  These routers are great for an office or small datacenter.  When talking with <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a>, they couldn&#8217;t understand why a company would use them in their datacenter instead of purchasing one of the larger models.  For a smaller company that has traffic under 100Gbits/sec, these are great routers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/11/22/juniper-j-series-routers-and-vlans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring VRRP on Juniper routers</title>
		<link>http://www.sysadminvalley.com/2010/10/19/configuring-vrrp-on-juniper-routers/</link>
		<comments>http://www.sysadminvalley.com/2010/10/19/configuring-vrrp-on-juniper-routers/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 12:50:11 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[juniper]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=255</guid>
		<description><![CDATA[I recently worked on a project where I needed two redundant Juniper routers.  Of course, networks *should* only have one gateway, so I needed to configure VRRP to have one of the routers be active, and the other standby incase the first one died. Below are two router configs. ge-0/0/0 is the uplink to our [...]]]></description>
			<content:encoded><![CDATA[<p>I recently worked on a project where I needed two redundant <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=juniper+networks">Juniper</a> routers.  Of course, networks *should* only have one gateway, so I needed to configure VRRP to have one of the routers be active, and the other standby incase the first one died.</p>
<p>Below are two router configs. ge-0/0/0 is the uplink to our internet provider.  Each uplink has a /30.  On our side of the network we&#8217;re assigned a public subnet to ge-0/0/1, although you could also configure the router with firewall rules and setup NAT and private IP space and accomplish the same thing.  On the ge-0/0/1, you need to assign a unique IP to each router (2.2.2.2 and 2.2.2.3), then you need a &#8220;Virtual&#8221; IP (or VIP) that will be used by all devices as the gateway (2.2.2.1).</p>
<p>I also add a section called &#8220;track&#8221;.  What this does is tells VRRP on the ge-0/0/1 interfaces to watch ge-0/0/0 and if anything happens to that interface, then it should tell the other router it needs to give up controlling the VIP.</p>
<blockquote><p>Router1
<pre>interfaces {
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 1.1.1.2/30;
            }
        }
    }
    ge-0/0/1 {
        unit 0 {
            family inet {
                address 2.2.2.2/24 {
                    vrrp-group 1 {
                        virtual-address 2.2.2.1;
                        priority 101;
                        accept-data;
                        track {
                            interface ge-0/0/0 {
                                priority-cost 10;
                            }
                        }
                    }
                }
            }
        }
    }
}</pre>
</blockquote>
<blockquote><p>Router 2
<pre>interfaces {
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 1.1.1.6/30;
            }
        }
    }
    ge-0/0/1 {
        unit 0 {
            family inet {
                address 2.2.2.3/24 {
                    vrrp-group 1 {
                        virtual-address 2.2.2.1;
                        priority 101;
                        accept-data;
                        track {
                            interface ge-0/0/0 {
                                priority-cost 10;
                            }
                        }
                    }
                }
            }
        }
    }
}</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/10/19/configuring-vrrp-on-juniper-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Cisco ASA 5505 with primary &amp; backup ISP</title>
		<link>http://www.sysadminvalley.com/2010/03/23/configuring-cisco-asa-5505-with-primary-backup-isp/</link>
		<comments>http://www.sysadminvalley.com/2010/03/23/configuring-cisco-asa-5505-with-primary-backup-isp/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:13:44 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[asa]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[firewall]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=222</guid>
		<description><![CDATA[Here&#8217;s an example config for configuring an Cisco ASA5505 with primary and backup ISP&#8217;s. ASA5505(config)# interface ethernet 0/0 ASA5505(config-if)# switchport access vlan 2 ASA5505(config-if)# no shutdown ASA5505(config)# interface ethernet 0/1 ASA5505(config-if)# switchport access vlan 1 ASA5505(config-if)# no shutdown ASA5505(config)# interface ethernet 0/2 ASA5505(config-if)# switchport access vlan 3 ASA5505(config-if)# no shutdown ASA5505(config)# interface vlan 1 ASA5505(config-if)# [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an example config for configuring an <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> ASA5505 with primary and  backup ISP&#8217;s.</p>
<blockquote>
<pre dir="ltr">ASA5505(config)# interface ethernet 0/0
ASA5505(config-if)# switchport access vlan 2
ASA5505(config-if)# no shutdown

ASA5505(config)# interface ethernet 0/1
ASA5505(config-if)# switchport access vlan 1
ASA5505(config-if)# no shutdown

ASA5505(config)# interface ethernet 0/2
ASA5505(config-if)# switchport access vlan 3
ASA5505(config-if)# no shutdown

ASA5505(config)# interface vlan 1
ASA5505(config-if)# nameif inside
ASA5505(config-if)# security-level 100
ASA5505(config-if)# ip address 192.168.1.1 255.255.255.0
ASA5505(config-if)# no shutdown

ASA5505(config)# interface vlan 2
ASA5505(config-if)# nameif primary-isp
ASA5505(config-if)# security-level 0
ASA5505(config-if)# ip address 100.100.100.1 255.255.255.0
ASA5505(config-if)# backup interface vlan 3
ASA5505(config-if)# no shutdown

ASA5505(config)# interface vlan 3
ASA5505(config-if)# nameif backup-isp
ASA5505(config-if)# security-level 1
ASA5505(config-if)# ip address 200.200.200.1 255.255.255.0
ASA5505(config-if)# no shutdown

ASA5505(config)# route primary-isp 0.0.0.0 0.0.0.0 100.100.100.2 1
ASA5505(config)# route backup-isp 0.0.0.0 0.0.0.0 200.200.200.2 2</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/03/23/configuring-cisco-asa-5505-with-primary-backup-isp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Configuration for a Cisco 2621 part 2</title>
		<link>http://www.sysadminvalley.com/2010/03/23/basic-configuration-for-a-cisco-2621-part-2/</link>
		<comments>http://www.sysadminvalley.com/2010/03/23/basic-configuration-for-a-cisco-2621-part-2/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:09:35 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[point to point]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[T1]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=209</guid>
		<description><![CDATA[Here&#8217;s a sample config you might use for a Cisco 2600 router for a point to point T1. The Cisco would need to have a built in CSU/DSU for this configuration. Router#sh run Building configuration... Current configuration : 1158 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a sample config you might use for a <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> 2600 router for a  point to point T1.  The <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> would need to have a built in CSU/DSU for  this configuration.</p>
<blockquote>
<pre dir="ltr">Router#sh run
Building configuration...

Current configuration : 1158 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip subnet-zero
!
ip cef
!
interface FastEthernet0/0
 no ip address
 shutdown
!
interface Serial0/0
 description outside interface
 ip address 100.100.100.1 255.255.255.252
 no ip directed-broadcast
 service-module t1 timeslots 1-24
 set cdp disable
 no shutdown
 no fair-queue
!
interface FastEthernet0/1
 description inside interface
 ip address 200.200.200.1 255.255.255.0
 speed 100
 full-duplex
!
ip default-gateway 100.100.100.2
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 100.100.100.2
!
line con 0
line aux 0
line vty 0 4
 login
!
!
end</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/03/23/basic-configuration-for-a-cisco-2621-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Configuration for a Cisco 2621</title>
		<link>http://www.sysadminvalley.com/2010/03/23/basic-configuration-for-a-cisco-2621/</link>
		<comments>http://www.sysadminvalley.com/2010/03/23/basic-configuration-for-a-cisco-2621/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:08:33 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=206</guid>
		<description><![CDATA[Here is a basic configuration for a Cisco 2621 using interface FastEthernet0/0 to connect to your ISP, and FastEthernet0/1 to connect to your local network. Router#sh run Building configuration... Current configuration : 1158 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a basic configuration for a <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> 2621 using interface  FastEthernet0/0 to connect to your ISP, and FastEthernet0/1 to connect  to your local network.</p>
<blockquote>
<pre dir="ltr">Router#sh run
Building configuration...

Current configuration : 1158 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip subnet-zero
!
ip cef
!
interface FastEthernet0/0
 description outside interface
 ip address 100.100.100.1 255.255.255.252
 speed 100
 full-duplex
!
interface Serial0/0
 no ip address
 shutdown
 no fair-queue
!
interface FastEthernet0/1
 description inside interface
 ip address 200.200.200.1 255.255.255.0
 speed 100
 full-duplex
!
ip default-gateway 100.100.100.2
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 100.100.100.2
!
line con 0
line aux 0
line vty 0 4
 login
!
!
end</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/03/23/basic-configuration-for-a-cisco-2621/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Basic Cisco Router Security</title>
		<link>http://www.sysadminvalley.com/2010/03/23/configuring-basic-cisco-router-security/</link>
		<comments>http://www.sysadminvalley.com/2010/03/23/configuring-basic-cisco-router-security/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:08:01 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=204</guid>
		<description><![CDATA[Network security is a hot topic today, and will only increase in importance in the months and years ahead. While most of the attention is paid to exterior threats, there are some steps you can take to prevent unwanted Cisco router access from within your organization. Whether you want to limit what certain users can [...]]]></description>
			<content:encoded><![CDATA[<p>Network security is a hot topic today, and will only increase in  importance in the months and years ahead.</p>
<p>While most of the attention is paid to exterior threats, there are some  steps you can take to prevent unwanted <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> router access from within  your organization.</p>
<p>Whether you want to limit what certain users can do and run on your  routers, or prevent unauthorized users in your company from getting to  config mode in the first place, here are four important yet simple steps  you can take to do so.</p>
<p><strong>Encrypt the passwords in your running configuration.</strong></p>
<p>This is a basic <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> router security command that is often overlooked.   It doesn&#8217;t do you any good to set passwords for your ISDN connection or  Telnet connections if anyone who can see your router&#8217;s running  configuration can see the passwords.  By default, these passwords are  displayed in your running config in clear text.</p>
<p>One simple command takes care of that.  In global configuration mode,  run service password-encryption. This command will encrypt all clear  text passwords in your running configuration.</p>
<p><strong>Set a console password.</strong></p>
<p>If I walked into your network room right now, could I sit down and start  configuring your <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> routers?</p>
<p>If so, you need to set a console password.  This password is a basic yet  important step in limiting router access in your network.  Go into line  configuration mode with the command &#8220;line con 0&#8243;, and set a password  with the password command.</p>
<p><strong>Limit user capabilities with privilege level commands.</strong></p>
<p>Not everyone who has access to your routers should be able to do  anything they want.  With careful use of privilege levels, you can limit  the commands given users can run on your routers.</p>
<p>Privilege levels can be a little clumsy at first, but with practice  you&#8217;ll be tying your routers down as tight as you like.  Visit <a href="http://www.cisco.com/univercd" target="_blank">www.cisco.com/univercd</a> for documentation on configuring privilege levels.</p>
<p><strong>Configure an &#8220;enable secret&#8221; password.</strong></p>
<p>It&#8217;s not uncommon for me to see a router that has an enable mode  password set, but it&#8217;s in clear text.</p>
<p>By using &#8220;enable secret&#8221;, the enable mode password will automatically  be encrypted.  Remember, if you have an enable password and enable  secret password set on the same router, the enable secret password takes  precedence.</p>
<p>These four basic steps will help prevent unwanted router access from  inside your network.  If only preventing problems from outside your  network was as simple!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/03/23/configuring-basic-cisco-router-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Router (801) ISP ISDN Config Example</title>
		<link>http://www.sysadminvalley.com/2010/03/23/cisco-router-801-isp-isdn-config-example/</link>
		<comments>http://www.sysadminvalley.com/2010/03/23/cisco-router-801-isp-isdn-config-example/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:06:57 +0000</pubDate>
		<dc:creator>mshields</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[isdn]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.sysadminvalley.com/?p=200</guid>
		<description><![CDATA[Here is an example ISDN config for a Cisco 801 router version 12.0 ! no ip domain-lookup isdn switch-type basic-net3 ! ! ! interface Ethernet0 ip address 172.16.1.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface BRI0 ip address negotiated no ip directed-broadcast ip nat outside encapsulation ppp dialer string (put ISDN phone number [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an example ISDN config for a <a target="_blank" href="http://www.beantownsoftware.com/shop/search.html?keyword=cisco">Cisco</a> 801 router</p>
<blockquote>
<pre dir="ltr">version 12.0
!
no ip domain-lookup
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
no ip directed-broadcast
ip nat inside
!
interface BRI0
ip address negotiated
no ip directed-broadcast
ip nat outside
encapsulation ppp
dialer string (put ISDN phone number here)
dialer-group 1
isdn switch-type basic-net3
no cdp enable
ppp chap hostname (Put username here)
ppp chap password (Put password here)
!
router rip
network 172.16.0.0
!
ip nat translation timeout 180
ip nat inside source list 1 interface BRI0 overload
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 BRI0
!
access-list 1 permit 172.16.0.0 0.0.255.255
access-list 100 deny ip any host 172.16.255.255
access-list 100 permit ip any any
dialer-list 1 protocol ip list 100
alias exec u undebug all
!</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminvalley.com/2010/03/23/cisco-router-801-isp-isdn-config-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

