Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 877 router Vlan1

Status
Not open for further replies.

jameshuk

Technical User
Feb 4, 2011
2
GB
Hi All,

I have a problem with a router. After I have entered the config shown below. I am getting "vlan1 is up protocol is down" even though I have connected my PC to it afterwards. Also when the config is entered it says bad mask shown below any ideas?

SO_047H4348(config-if)#ip address 172.18.22.144 255.255.255.240
Bad mask /28 for address 172.18.22.144

config entered

ervice password-encryption
hostname SO_047H4348
enable secret cisco
interface Loopback0
description Management Address
ip address 10.255.249.26 255.255.255.255
interface ATM0
bandwidth 8192
no ip address
no atm ilmi-keepalive
no shutdown
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
dsl operating-mode auto
interface FastEthernet0
no shutdown
speed 100
duplex full
interface FastEthernet1
interface FastEthernet2
interface FastEthernet3
interface Vlan1
description Customers LAN
ip address 172.18.22.145 255.255.255.240
interface Dialer1
description Circuit reference ST/EUDP/08213
ip unnumbered Loopback0
no shutdown
encapsulation ppp
dialer pool 1
no cdp enable
ppp authentication chap callin
ppp chap hostname SO_04**@******.thus.dsl
ppp chap password ***
ip route 0.0.0.0 0.0.0.0 Dialer1
line con 0
password cisco
login
line vty 0 4
No Access-class 23 in
password cisco
login

Thanks
 

SO_047H4348(config-if)#ip address 172.18.22.144 255.255.255.240
Bad mask /28 for address 172.18.22.144

256-240 = 16
16* 9 = 144

you are using the network ID as an IP address for said subnet and it wont work. First IP in that range is 145.

i think the 877 allows each port to be part of a diff vlan. Have you tried putting your fa interface into vlan 1?



We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Thank you for your help. Maybe it was the configuraton I was given by technical I was asked to enter the following

LAN IP ADDRESS RANGE/NETMASK: 172.18.22.144/28

I entered it in the config as

ip address 172.18.22.145 255.255.255.240

Does the above look right?

Thanks for your help in the matter.
 
indeed jamesshuk. what you got 172.18.22.144/28 is basically the network block for you to use. 172.18.22.144 is called the network ID. first usable IP is 172.18.22.145 and last usable Ip is (144+16-2) = 172.18.22.158; with a broadcast of 172.18.22.159

and are your vlans showing as up now ?



We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top