cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1011
Views
0
Helpful
6
Replies

1721 adsl with static ip and nat question

MohsenMostafa
Level 1
Level 1

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

6 Replies 6

Mark Malone
VIP Alumni
VIP Alumni

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

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 

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

unfortunately my ISP doesn't know witch type of connection that i build it with some technical supports tell me that my connection is bridge and others pppoe but here's the case of the configuration of my modem installation   

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

thanks so much :)