List Info

Thread: Re: Help very urgent




Re: Help very urgent
user name
2005-07-25 02:58:52
I am using router 1601 & switch 1912. In 1912 switch does not support interface vlan1 command in config mode.Also only global ip address is available. Could you please tell the commands for this configuration.
 
 
Thanks
Raghesh
 


sherif lattif <start2netyahoo.com&gt; wrote:
Hi :
Dear Raghesh:
According the information you wrote below i think this is the right configuration but before you apply it remove all the old configuration.
s1(config)#vlan 2
s1(config-vlan)#ex
s1(config)#int fa0/26
s1(config-if)#switchport mode trunk
s1(config-if)#switcchport trunk encapsulation dot1q
s1(config)#int e0/1
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 1
s1(config)#int e0/2
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 2
s1(config)#int vlan 1
s1(config-if)#ip address --ipadd---- ---mask---
s1(config-if)#no shut
s1(config-if)#ip default-gatway ------ip add of sub interface of router that is in vlan 1 without mask-----
 
R1(config)#int e0
R1(congif-if)#no ip address
R1(config-if)#no shut
R1(config)#int e0.1
R1(config-subif)#ip address ----ip add----- ----mask-----
R1(config-subif)#encapsulation dot1q 1
R1(config)#int e0.2
R1(config-subif)#ip address ----ip add----- -----mask-----
R1(config-subif)#encapsulation dot1q 2
then configure the PCs with its IPs and the default gatway with the ip of the subinterface of router that is with the pc in the same vlan.(the configuration for s2 & R2 is the same)
then define routing protocol in the router to route the traffic between the vlans.


 

Cisco C <raghesh_ciscoyahoo.com&gt; wrote:
I have done like that you told me. But still the same problem in different angle, First I have assigned router e0/0.2 with 192.168.0.4 255.255.255.0. When I tried to configuree0/0.1 with 192.168.0.1 255.255.255.0 it show e0/0.1 ip overlap with e0/0.2 ip..
&nbsp;
I will tell you my actual need. I have two routers two switches and four hosts.
R1-Router1,S1-switch1,host1&host2
R2-Router2,s2-switch2,host3&host4
 &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  The R1 serial0 is directly connected to R2 serial0 & R1 e0 port is connected to S1 fa0/26 port.Host1 is connected to S1 e0/1 port & Host2 to S1 e0/2 port.Like wise
R2 e0 port is connected to S2 fa0/26 port.Host3 is connected to S2 e0/1 port & Host4 to S2 e0/2 port.
&nbsp; &nbsp;
 &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; My need is I want to seprate the host2 in Vlan2 of Switch1 likewise host4 in vlan2 of switch2. So that host1 does not ping with host2 & host3 does not ping with host4. I need to ping from my host1 & host2 to R1 s0 interface & my host3 & host4 to R2 s0 interface.
 
Please kindly send me the configuration command for this.
&nbsp;
Thanks
Raghesh
Renu k <renukakbyahoo.com&gt; wrote:

Hi,,

you configure your Router, Switch and PC1 in default
VLAN ie VLAN1.
Configuration is something like this--
#int e0/0.1
ip address 192.168.0.1 255.255.255.248
(This IP address can be used to telnet to the Router
also and dont give any separate IP to e0.)

Switch global IP let it be the same. Keep the PC 1 IP
address is also same. Use the same masking here also.

Now you want to put PC 2 in VLAN 2. So config
int e0/0.2
ip address 192.168.0.9 255.255.255.248
and the PC 2 IP address 192.168.0.10

Try this out and let me know whether it works. Any
clarifications feel free to communicate..

Good Luck..
Renu

and your switch f0/26

--- Cisco C <raghesh_ciscoyahoo.com&gt; wrote:

&gt; I have 1router one switch and two pcs.R1 is
> connected to S1fa0/26 & pc1 toe0/1&;pc2 to e0/2. I
> have created vlan for seprating host1 & host2. Now
> host1 is in vlan1 & host2 is in vlan2. I have
> enabled TRUNK ON on switch fa 0/26. Now I can ping
> to R1 e0 from Pc1 & pc2. But I can't ping to s0 of
> R1 from pc2.And also I can't ping to switch.Switch
> ip is configured from config t#ip address
> ------------------ ----------.
;
> I have tried thisBR>> router(config)#int e0/0.1
>; router(config-subif)#encapsulation dot1q vlan no.
> router(config-subif)#ip address&nbsp; address&nbsp;  mask
>&nbsp;
> applied above command but yet I can't ping to my R1
> s0 interface.My S0 ip is 12.1.2.4 & my router e0 ip
> is 192.168.0.1.Switch global ip is 192.168.0.2.my
> host1 ip is 192.168.0.3 & host2 is 192.168.0.4
;
> When I configured sub interface for vlan the router
>; shows ip overlaped with router e0 interface.
> Pls help me.
>&nbsp;
> Thanks
>; Raghesh
&gt;
>
>
>  &nbsp; &nbsp;   &nbsp; &nbsp; 
> ---------------------------------
; Start your day with Yahoo! - make it your home page




&nbsp;   ;   &nbsp; &nbsp; 
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs


Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Re: Help very urgent
user name
2005-07-26 01:41:56
ok
enter the ip add command in the global configuration mode instead of interface vlan.
the remaining configuration is the same.
You must run a routing protocol in the router to be able to ping the serial interfaces in the router from any host.

Cisco C <raghesh_ciscoyahoo.com&gt; wrote:
I am using router 1601 & switch 1912. In 1912 switch does not support interface vlan1 command in config mode.Also only global ip address is available. Could you please tell the commands for this configuration.
&nbsp;
 
Thanks
Raghesh
 


sherif lattif <start2netyahoo.com&gt; wrote:
Hi :
Dear Raghesh:
According the information you wrote below i think this is the right configuration but before you apply it remove all the old configuration.
s1(config)#vlan 2
s1(config-vlan)#ex
s1(config)#int fa0/26
s1(config-if)#switchport mode trunk
s1(config-if)#switcchport trunk encapsulation dot1q
s1(config)#int e0/1
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 1
s1(config)#int e0/2
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 2
s1(config)#int vlan 1
s1(config-if)#ip address --ipadd---- ---mask---
s1(config-if)#no shut
s1(config-if)#ip default-gatway ------ip add of sub interface of router that is in vlan 1 without mask-----
 
R1(config)#int e0
R1(congif-if)#no ip address
R1(config-if)#no shut
R1(config)#int e0.1
R1(config-subif)#ip address ----ip add----- ----mask-----
R1(config-subif)#encapsulation dot1q 1
R1(config)#int e0.2
R1(config-subif)#ip address ----ip add----- -----mask-----
R1(config-subif)#encapsulation dot1q 2
then configure the PCs with its IPs and the default gatway with the ip of the subinterface of router that is with the pc in the same vlan.(the configuration for s2 & R2 is the same)
then define routing protocol in the router to route the traffic between the vlans.


 

Cisco C <raghesh_ciscoyahoo.com&gt; wrote:
I have done like that you told me. But still the same problem in different angle, First I have assigned router e0/0.2 with 192.168.0.4 255.255.255.0. When I tried to configuree0/0.1 with 192.168.0.1 255.255.255.0 it show e0/0.1 ip overlap with e0/0.2 ip..
&nbsp;
I will tell you my actual need. I have two routers two switches and four hosts.
R1-Router1,S1-switch1,host1&host2
R2-Router2,s2-switch2,host3&host4
 &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  The R1 serial0 is directly connected to R2 serial0 & R1 e0 port is connected to S1 fa0/26 port.Host1 is connected to S1 e0/1 port & Host2 to S1 e0/2 port.Like wise
R2 e0 port is connected to S2 fa0/26 port.Host3 is connected to S2 e0/1 port & Host4 to S2 e0/2 port.
&nbsp; &nbsp;
 &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; My need is I want to seprate the host2 in Vlan2 of Switch1 likewise host4 in vlan2 of switch2. So that host1 does not ping with host2 & host3 does not ping with host4. I need to ping from my host1 & host2 to R1 s0 interface & my host3 & host4 to R2 s0 interface.
 
Please kindly send me the configuration command for this.
&nbsp;
Thanks
Raghesh
Renu k <renukakbyahoo.com&gt; wrote:

Hi,,

you configure your Router, Switch and PC1 in default
VLAN ie VLAN1.
Configuration is something like this--
#int e0/0.1
ip address 192.168.0.1 255.255.255.248
(This IP address can be used to telnet to the Router
also and dont give any separate IP to e0.)

Switch global IP let it be the same. Keep the PC 1 IP
address is also same. Use the same masking here also.

Now you want to put PC 2 in VLAN 2. So config
int e0/0.2
ip address 192.168.0.9 255.255.255.248
and the PC 2 IP address 192.168.0.10

Try this out and let me know whether it works. Any
clarifications feel free to communicate..

Good Luck..
Renu

and your switch f0/26

--- Cisco C <raghesh_ciscoyahoo.com&gt; wrote:

&gt; I have 1router one switch and two pcs.R1 is
> connected to S1fa0/26 & pc1 toe0/1&;pc2 to e0/2. I
> have created vlan for seprating host1 & host2. Now
> host1 is in vlan1 & host2 is in vlan2. I have
> enabled TRUNK ON on switch fa 0/26. Now I can ping
> to R1 e0 from Pc1 & pc2. But I can't ping to s0 of
> R1 from pc2.And also I can't ping to switch.Switch
> ip is configured from config t#ip address
> ------------------ ----------.
;
> I have tried thisBR>> router(config)#int e0/0.1
>; router(config-subif)#encapsulation dot1q vlan no.
> router(config-subif)#ip address&nbsp; address&nbsp;  mask
>&nbsp;
> applied above command but yet I can't ping to my R1
> s0 interface.My S0 ip is 12.1.2.4 & my router e0 ip
> is 192.168.0.1.Switch global ip is 192.168.0.2.my
> host1 ip is 192.168.0.3 & host2 is 192.168.0.4
;
> When I configured sub interface for vlan the router
>; shows ip overlaped with router e0 interface.
> Pls help me.
>&nbsp;
> Thanks
>; Raghesh
&gt;
>
>
>  &nbsp; &nbsp;   &nbsp; &nbsp; 
> ---------------------------------
; Start your day with Yahoo! - make it your home page




&nbsp;   ;   &nbsp; &nbsp; 
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs


Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )