tag:blogger.com,1999:blog-39145213718226356062024-02-08T05:59:28.628-08:00Cisco Router 2811 configuration with 2 ethernetsThe actual number of IP addresses available is around 3.3 billion. With the huge growth in the Internet, there are simply not enough addresses available. This is where Network Address Translation (NAT) comes into play. It allows a single device to act as an intermediary between the Internet and a local network. This effectively means that a single IP address can be used for an entire group of computers.Vivaanhttp://www.blogger.com/profile/05776407763813168761noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3914521371822635606.post-53142101259481329502008-08-22T00:20:00.000-07:002008-08-22T00:36:16.048-07:00cisco router 2811 configuration with one serial and one ethernet cardConfigure cisco Router 2811 and Configure Natting with one serial and one ethernet card<br />
<br />
<br />
Here we are going to confgure cisco router 2811/2611 with the ISP connection and create natting .<br />
<br />
telnet 192.168.0.1 (Router Ip)<br />
Enter passwd - xyz<br />
<br />
step 1 :-<br />
<br />
hostname>en - enable to login to router configuration<br />
passwd - abc<br />
<br />
hostname# sh run - to see running configuration<br />
<br />
hostname# config t - To configure terminal<br />
<br />
step 2 :-<br />
<br />
hostname(config)#ip name-server 203.148.202.3<br />
hostname(config)#ip name-server 203.148.202.4<br />
<br />
where 203.148.202.3 and 203.148.202.4 are all the available dns server ip <br />
<br />
step 3 :-<br />
<br />
hostname(config)#interface Serial0/0<br />
hostname(config-if)#ip address 58.68.30.130 255.255.255.0<br />
hostname(config-if)# ip nat outside<br />
hostname(config-if)#CLTR=Z<br />
hostname#wr<br />
<br />
hostname#config t<br />
hostname(config)# ip nat pool sunny 125.16.1.20 125.16.1.20 prefix-length 24<br />
<br />
hostname(config)# ip nat inside source list 7 pool sunny overload<br />
hostname(config)# ip classless<br />
hostname(config)# ip route 0.0.0.0 0.0.0.0 Serial0/0<br />
<br />
hostname(config)#ip route 0.0.0.0 0.0.0.0 Serial0/1<br />
<br />
hostnmae(config)# ip http server<br />
<br />
hostname(config)#access-list 7 permit 192.168.100.0 0.0.0.255<br />
<br />
<br />
Wan Ip 58.68.30.130 is the public Ip provided by the ISP and this ip will be natted with your complete network.I mean your network will have 192.168.0.1,2,3 series but outside this will be your main nattimg IP<br />
<br />
hostname(config-if)ip nat outside<br />
hostname(config-if)duplex auto<br />
hostname(config-if)speed auto<br />
hostname(config-if)control+Z - save configuration<br />
hostname#wr - write the changes<br />
<br />
step 4 :-<br />
<br />
hostname#config t<br />
hostname(config)# interface FastEthernet0/0<br />
hostname(config-if)#ip address 192.168.0.20 255.255.255.0 secondary<br />
hostname(config-if)# ip address 125.16.1.17 255.255.255.240<br />
hostname(config-if)# ip nat inside<br />
<br />
press CLTR+Z and then write<br />
This will be Ip series you can use in your network now<br />
hostname(config-if)#speed auto<br />
hostname(config-if)control+Z - save configuration<br />
hostname#wr - write the changes<br />
<br />
Restart the router 1 or 2 times and your router is ready configured and natting is also done<br />
<br />
Thanks<br />
<br />
NaveenVivaanhttp://www.blogger.com/profile/05776407763813168761noreply@blogger.com27tag:blogger.com,1999:blog-3914521371822635606.post-82180396167521020502008-04-14T05:57:00.000-07:002008-04-14T06:32:33.774-07:00Configure cisco Router 2811 and Configure Natting with Two ethernet portsConfigure cisco Router 2811 and Configure Natting with Two ethernet ports<br /><br />Here we are going to confgure cisco router 2811/2611 with the ISP connection and create natting .<br /><br />telnet 192.168.0.1 (Router Ip)<br /><br />Enter passwd - xyz<br /><br />step 1 :-<br /><br />hostname>en - enable to login to router configuration<br />passwd - abc<br /><br />hostname# sh run - to see running configuration<br /><br />hostname# config t - To configure terminal<br /><br />step 2 :-<br /><br />hostname(config)#ip name-server 203.148.202.3<br />hostname(config)#ip name-server 203.148.202.4<br /> <br />where 203.148.202.3 and 203.148.202.4 are all the available dns server ip <br /><br />step 3 :-<br /><br /><br />hostname(config)#interface FastEthernet0/0<br /><br />hostname(config-if)#ip address 58.68.30.130 255.255.255.0<br /><br />Ip 58.68.30.130 is the public Ip provided by the ISP and this ip will be natted with your complete network.I mean your network will have 192.168.0.1,2,3 series but outside this will be your main nattimg IP<br /><br />hostname(config-if)ip nat outside<br />hostname(config-if)duplex auto<br />hostname(config-if)speed auto<br /><br />hostname(config-if)control+Z - save configuration<br /><br />hostname#wr - write the changes<br /><br /><br />step 4 :-<br /><br />hostname#config t<br />hostname(config)# interface FastEthernet0/1<br />hostname(config-if)#ip address 192.168.0.2 255.255.255.0 <br /><br />This will be Ip series you can use in your network now<br /><br />hostname(config-if)#ip nat inside<br />hostname(config-if)#duplex auto<br />hostname(config-if)#speed auto<br /><br />hostname(config-if)control+Z - save configuration<br /><br />hostname#wr - write the changes<br /><br />step 5 :-<br /><br />hostname#config t<br /><br />hostname(config)#ip classless<br />hostname(config)#ip route 0.0.0.0 0.0.0.0 FastEthernet0/0<br /><br />hostname(config)#ip http server<br />hostname(config)#ip nat inside source list 1 interface FastEthernet0/0 overload<br />hostname(config)#access-list 1 permit 192.168.0.0 0.0.0.255<br /><br />This last step is very important and while to get any error in above steps just ignore because some router come with this configuration already set<br /><br />hostname(config)#control+Z<br />hostname#wr - save the changes<br /><br />Restart the router 1 or 2 times and your router is ready configured and natting is also done<br /><br /><br />Thanks<br />NaveenVivaanhttp://www.blogger.com/profile/05776407763813168761noreply@blogger.com87