S2950-2(config)#ip default-gateway ? A.B.C.D IP address of default gateway S2950-2(config)#ip default-gateway 192.168.1.1 ? <cr> S2950-2(config)#ip default-gateway 192.168.1.1
mikej412 wrote: » If you work your way through the CLI help using the ? you'll find that the ip default-gateway command doesn't require (or want) a subnet mask.S2950-2(config)#ip default-gateway ? A.B.C.D IP address of default gateway S2950-2(config)#ip default-gateway 192.168.1.1 ? <cr> S2950-2(config)#ip default-gateway 192.168.1.1
knwminus wrote: » What version of PT are you using? I am using 5.0 This is from a 2950 Switch>en Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#ip Switch(config)#ip d? default-gateway domain-lookup Switch(config)#ip d Switch(config)#ip defaul Switch(config)#ip default-gateway ? A.B.C.D IP address of default gateway Switch(config)#ip default-gateway 1.1.1.1 Switch(config)#
hexem wrote: » It's a layer 3 switch, routing built in, meaning no need for a default gateway in the sense of being a client pc/layer2 switch.
bcall64 wrote: » That would explain why the command is not there.
S3550-1#config t Enter configuration commands, one per line. End with CNTL/Z. S3550-1(config)#ip d? default-gateway default-network device dhcp dhcp-client dhcp-server domain domain-list domain-lookup domain-name dvmrp S3550-1(config)#ip default S3550-1(config)#ip default-g S3550-1(config)#ip default-gateway ? A.B.C.D IP address of default gateway S3550-1(config)#ip default-gateway
hexem wrote: » as far as im aware, you don't really need to be using a multi-layered switch at CCNA level anyway, from what iv'e read you do that in CCNP, if you are wanting to route between vlan's then you can use a router on a stick with subinterfaces, which you will come to eventually in you're studies if you haven't already.
bcall64 wrote: » Yeah the reason I was using the multi-layered switch was because some of the commands were missing in packet tracer for the regular switch. I'm half tempted to talking my fiance into just letting me drop a couple hundred bucks to build a simple lab. It would be so much easier to work with real hardware.
super22 wrote: » hey guys just a question how can I telnet to a switch from a remote LAN so I can configure it remotely? is it the ip default gateway command? can i just use any ip address?
bcall64 wrote: » Ok doing this from memory so forgive me if I miss something. My exam is Monday. First of all you need to configure your vty lines. So... Router#conf t Router#(Config)line vty 0 4 Router#(Config-if)password password Router#(Config-if)login Router#(Config-if)transport input telnet Router#(Config-if)exit Router#(Config)int vlan 1 Router#(Config-if)ip address 192.168.1.20 255.255.255.0 Router#(Config-if)exit Router#(Config)ip default-gateway A.B.C.D (ip address of switch) end You could then telnet the router and then telnet the switch assuming you setup the router correctly. The ip address of the switch needs to be on the same network as the LAN interface for the router as well. Now if there is a way to telnet to the switch directly without first telnetting into the router I'd love to know but in my mind it just doesn't seem possible without a port forward.
super22 wrote: » Hey thanks for answer but im still a bit confused.... So I understand that I to pass throught the router fisrt before I can telnet to the switch So I need to enter this to the router: ip default-gateway A.B.C.D (ip address of switch) But how do I specify the IP address of the switch? is it also: router#conf t router(config)# ip default-gateway A.B.C.D Thanks a bunch
bcall64 wrote: » Switch#(Config)ip default-gateway A.B.C.D (ip address of switch)
bcall64 wrote: » I shouldn't do these things when I first wake up... I meant switch Switch#conf t Switch#(Config)line vty 0 4 Switch#(Config-if)password password Switch#(Config-if)login Switch#(Config-if)transport input telnet Switch#(Config-if)exit Switch#(Config)int vlan 1 Switch#(Config-if)ip address 192.168.1.20 255.255.255.0 Switch#(Config-if)exit Switch#(Config)ip default-gateway A.B.C.D (ip address of switch) end
spartangtr wrote: » aaaaaaalmost. vlan 1 is always shutdown by default isn't it? Add in a no shut command on the VLAN int line.