cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
5
Helpful
4
Replies

Help with 2851 vlan routing and interface.

alexten1983
Level 1
Level 1

Here is my config for the network part.

ip dhcp excluded-address 192.168.10.1 192.168.10.30
ip dhcp excluded-address 192.168.11.1 192.168.11.30
!
ip dhcp pool VOICE
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8
option 150 ip 192.168.10.1
!
ip dhcp pool LAN
network 192.168.11.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.11.254

interface GigabitEthernet0/0
ip address 192.168.11.254 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.1.254 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface FastEthernet1/0
!
interface FastEthernet1/1
!
interface FastEthernet1/2
!
interface FastEthernet1/3
!
interface FastEthernet1/4
!
interface FastEthernet1/5
!
interface FastEthernet1/6
!
interface FastEthernet1/7
!
interface FastEthernet1/8
!
interface FastEthernet1/9
!
interface FastEthernet1/10
!
interface FastEthernet1/11
!
interface FastEthernet1/12
!
interface FastEthernet1/13
!
interface FastEthernet1/14
!
interface FastEthernet1/15
!
interface GigabitEthernet1/0

ip nat inside source list 1 interface GigabitEthernet0/1 overload
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
logging esm config
access-list 1 permit 192.168.10.0 0.0.0.255
access-list 1 permit 192.168.11.0 0.0.0.255

How can I make it so that the 192.168.1.1 network will see 192.168.10.1 and the 192.168.11.1

The 2851 has a 16 port nm-esw that i use as a switch

4 Replies 4

Mark Malone
VIP Alumni
VIP Alumni

hi

you should be able to create a vlan interface for the 192.168.10.x/24 network and set ip nat inside too and set an access port as vlan 10 with a phone connected

interface vlan 10

ip address 192.168.10.1 255.255.255.0

ip nat inside

no shut

interface fa0/4

switchport access vlan 10

vlan 10

name voice  

.............

once vlan is up/up and access port is up , router will route between the vlans or interfaces

You could free up the other port too by using a vlan for that too the data

then on your access ports connect the pcs off the phones and configure like

interface fa0/4

switchport access vlan 11

switchport voice vlan 10

The thing is I have a router (not 2851) that is dhcp for 192.168.1.1 and its connected to interface GigabitEthernet0/1 and i have a pc that is connected to a router (not2851) with a ip of 192.168.1.10 that pc cant ping the phone that is on 192.168.10.42 or a pc that is on 192.168.11.31 but the cisco router the 192.168.1.254 can ping everything. Is there a way to be able to ping from 192.168.1.1 network past the 192.168.1.254?

You would need some form of routing between the non cisco and cisco routers , static route say coming from the non cisco router to the cisco router so it can speak back to the other networks

could you not move that pc .10 back into the 2851 and put it in the data vlan , does it have to be on the 192.168.1.x network ?

I have 2 routers on internal network with 2 difrent static ip on external network

one is set up wit a 10... adres and the other is set up with dhcp for 192... address is i set both ip manually in a pc i can see the 10... address  how can i make it so the 192 router just connect me to the 10.... address  both routers are on same switch.