05-31-2016 02:04 AM - edited 03-05-2019 04:07 AM
please any expert help me in this senario,
router 1721 with one wic-1adsl ,i have adsl conection with irb static ip.
the router connect with mannaged switch through a trunk port.
the switch has 2 vlans one for the static IPs and the other for private lan.
i need the private lan to be able to go to internet please any ideas.
the router configuration is as follows:
Building configuration...
Current configuration : 1272 bytes
!
! Last configuration change at 16:50:18 pc Fri May 10 2013 by admin
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BELCO
!
boot system tftp c1700-k9o3sy7-mz.122-15.T17.bin 62.x.x.7x
logging queue-limit 100
!
username admin privilege 15 password 0 HES2010
clock timezone pc 0
ip subnet-zero
!
!
!
ip cef
!
!
bridge irb
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/35
encapsulation aal5snap
!
dsl operating-mode auto
bridge-group 1
!
interface ATM1
no ip address
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
interface FastEthernet0
no ip address
speed auto
!
interface FastEthernet0.1
description LAN
encapsulation dot1Q 1 native
ip address 192.168.1.10 255.255.255.0
!
interface FastEthernet0.2
description WAN
encapsulation dot1Q 2
ip address 62.x.x.7x 255.255.255.248
!
interface BVI1
mac-address 0000.0cc9.fa98
ip address 10.186.10.106 255.255.255.252
!
ip classless
ip route 0.0.0.0 0.0.0.0 BVI1
ip http server
ip http authentication local
!
!
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
speed 115200
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet
!
no scheduler allocate
end
so vlan2 can go to internet because it has the same subnet with provider but vlan 1 canot go internet.
so how i can make all vlans go internet(the router has only 1 fastethernet port)
thanks in advanced for any help
05-31-2016 02:12 AM
Hi
ip nat inside on the LAN interface and ip nat outside on the WAN interface then use overload
follow this doc it shows how to do it
http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/260-cisco-router-nat-overload.html
05-31-2016 02:16 AM
I just wanna know that my depend on Encapsulation ....
can I use encapsulation pppoe or bridge in this case ?
just wanna know the better for my case
05-31-2016 02:25 AM
Your ISP should be telling you what type of encapsulation to use on their line as it needs to match what they use but you also need NAT unless some other device is doing it for you already
05-31-2016 03:51 AM
05-31-2016 04:00 AM
But how will it work the ISP has to use the same encapsulation as you , the line they provided would be a certain type of line pppoe,pppoa or straight p2p etc , the screenshot you just provided is neither its pppoa and that would require the ISP to provide you with the VC circuit id and the type of ATM encapsulation they use or it will not work , both ends need to match you and the ISP , you cant just chose your own type of connection, its based on whats delivered as the service the actual physical circuit type
if its pppoe or pppoa and its an internet circuit you need the details as there's passwords that have to go on the config as well to sync the line
05-31-2016 04:27 AM
thanks so much :)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide