Manuel
asked on
SETUP ROUTER AND VLANS COMMUNICATION
I am trying to setup this diagram, which can be found on www.virgoletta.com. I am trying to make both PC’s talk to each other through the router. Both PC’s are in different VLANS. I am having trouble setting this up can someone help me out with the configuration.
Thank You,
vreyesii
Thank You,
vreyesii
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is the ip addressing in your diagram correct?
PC1 172.16.0.2
Default gateway 172.16.0.1
PC1 connected to switchport 4 or 7
Router Eth0/1 = 172.16.0.1
routing is enabled on the router
Router is connected wo switchport 4 or 7
PC2 192.168.0.2
default gateway 192.168.0.1
PC1 connected to which switchport?
Router Eth0/0 192.168.0.1
Connected to which switchport?
Can you ping either PC from the router console?
Are both router interfaces UP/UP ?
PC1 172.16.0.2
Default gateway 172.16.0.1
PC1 connected to switchport 4 or 7
Router Eth0/1 = 172.16.0.1
routing is enabled on the router
Router is connected wo switchport 4 or 7
PC2 192.168.0.2
default gateway 192.168.0.1
PC1 connected to which switchport?
Router Eth0/0 192.168.0.1
Connected to which switchport?
Can you ping either PC from the router console?
Are both router interfaces UP/UP ?
ASKER
On www.virgoletta.com I put up an updated version of how the network currently is. Both interfaces on the Router are up. However, the only PC from the router using the console port I can only ping PC2. I am not able to ping PC1.
Thank You,
vreyesii
Thank You,
vreyesii
Can you post the results of "show vlan brief" and "show int status" on the switch?
ASKER
Here it is.
Thank You,
vreyesii
Switch#sh vlan brief
VLAN Name Status Ports
---- -------------------------- ------ --------- -------------------------- -----
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/5
Fa0/6, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12
563 VLAN0563 active Fa0/4, Fa0/7
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch#
Thank You,
vreyesii
Switch#sh vlan brief
VLAN Name Status Ports
---- --------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/5
Fa0/6, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12
563 VLAN0563 active Fa0/4, Fa0/7
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Switch#
And you're saying that from the router you can ping PC2 but not PC1?
Can PC1 ping 172.16.0.1?
Can PC1 ping 172.16.0.1?
ASKER
Yes that is what I am saying. From PC1 I tried pinging 172.16.0.1 and I was not able too.
Thank You,
vreyesii
Thank You,
vreyesii
Can you post result from the router of "show ip int brief" ?
ASKER
Here is the output for the Router.
New_York#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
Ethernet0/0 192.168.10.1 YES manual up up
Serial0/0 5.0.2.1 YES manual down down
Ethernet0/1 172.16.0.1 YES manual up up
New_York#
New_York#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
Ethernet0/0 192.168.10.1 YES manual up up
Serial0/0 5.0.2.1 YES manual down down
Ethernet0/1 172.16.0.1 YES manual up up
New_York#
And from the router console you cannot ping the pc 172.16.0.2 . . .
Is there any firewall software on that PC that could possibly be blocking ICMP?
This one's a head scratcher.....!!!
Are you sure the cables are good?
Is there any firewall software on that PC that could possibly be blocking ICMP?
This one's a head scratcher.....!!!
Are you sure the cables are good?
ASKER
Ok I rebooted PC1 and now I able to ping 172.16.0.1 however PC1 cannot ping 192.168.10.2 which is PC 2 but PC1 can ping 192.168.10.1.
thank you,
vreyesii
thank you,
vreyesii
OK that looks like progress. Now post result of "C:\>route print" from PC2
Any Firewall sofware on PC2?
Any Firewall sofware on PC2?
ASKER
I got it working. What I did was that I enabled routing on the New York router. Now from PC1 I am able to ping PC2 and vice versa. However, I thought I did not have to enable routing on the New York router?
thank you,
vreyesii
thank you,
vreyesii
Of course you have to enable routing any time you have different ip subnets on different interfaces and you want to route between them...
ASKER
why didn't donjohnston in his configuration mention anything about that?
thank you,
vreyesii
thank you,
vreyesii
Probably because routing is usually turned on by default and we don't normally think about it?
Unless you're running a VERY old IOS version, the only way ip routing could be disabled is if someone issued the command "no ip routing". We just assumed that it was enabled.
ASKER
Alright, I understand. I have another question which I have open https://www.experts-exchange.com/questions/21908136/Setup-CBAC.html is there anyway maybe you can take a look and help me out.
Thank You for all your help.
vreyesii
Thank You for all your help.
vreyesii
ASKER
Thank You,
vreyesii
Building configuration...
Current configuration : 1314 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Switch
!
enable secret 5 $1$YDpL$4dUyXqovrwQCyrGp7a
enable password 7 055F1E5C740C1A114A50
!
ip subnet-zero
!
ip ssh time-out 120
ip ssh authentication-retries 3
vtp domain Gotham
vtp mode transparent
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
vlan 1
tb-vlan1 1002
tb-vlan2 1003
!
vlan 563
!
vlan 1002
tb-vlan1 1
tb-vlan2 1003
!
vlan 1003
tb-vlan1 1
tb-vlan2 1002
parent 1005
backupcrf enable
!
vlan 1004
bridge 1
stp type ibm
!
vlan 1005
bridge 1
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
switchport access vlan 563
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport access vlan 563
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface Vlan1
ip address 192.168.10.3 255.255.255.0
no ip route-cache
!
ip http server
!
line con 0
password 7 01471E570E4B52177219
login
line vty 0 4
password 7 03504358535B391F1B
login
line vty 5 15
password 7 03504358535B391F1B
login
!
!
end