Problem z polączeniem w gns do Clouda

Pytania dt. certyfikacji CCNA i CCDA
Wiadomość
Autor
Awatar użytkownika
nowyk123
wannabe
wannabe
Posty: 185
Rejestracja: 05 mar 2017, 21:46

Problem z polączeniem w gns do Clouda

#1

#1 Post autor: nowyk123 »

Hej.
W GNS3 próbuję podłączyć się do Internetu jednak bezskutecznie. Chcę podłączyć się za pomocą routera w GNS do internetu i móc bez problemu puścić ping na google.pl. Pytanie czy jest to możliwe? Utworzyłem Microsoft loopback adapter na Windows10.
Stworzyłem coś takiego:
https://zapodaj.net/9b0a6750c87d4.png.html
https://zapodaj.net/1c16879f9e98d.png.html
Tylko jak próbuję puścić ping na 8.8.8.8 to jest TIMEOUT 0% udanego przesłanego pakietu...
Ktoś pomoże?
Jak miałbym skonfigurować u mnie int fa0/1?
Obecnie mam:

R1#show ip interface
FastEthernet0/0 is up, line protocol is up
Internet address is 10.255.255.2/30
Broadcast address is 255.255.255.255
Address determined by non-volatile memory
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF Feature Fast switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is enabled, interface in domain outside
BGP Policy Mapping is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
FastEthernet0/1 is up, line protocol is up
Internet address will be negotiated using DHCP
Broadcast address is 255.255.255.255
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF Feature Fast switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is disabled
BGP Policy Mapping is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
NVI0 is up, line protocol is up
Interface is unnumbered. Using address of FastEthernet0/0 (10.255.255.2)
Broadcast address is 255.255.255.255
MTU is 1514 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is disabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is disabled
IP Null turbo vector
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is disabled
BGP Policy Mapping is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled

Awatar użytkownika
konradrz
CCIE
CCIE
Posty: 400
Rejestracja: 23 sty 2008, 14:21
Lokalizacja: Singapore, SG
Kontakt:

Re: Problem z polączeniem w gns do Clouda

#2

#2 Post autor: konradrz »

A ten Windowsowy Eth2 (zakładam że 10.255.255.1/30?) pingować możesz?
A routing jest? (choćby głupie 'ip route 0/0 10.255.255.1')
Pokazałbyś "show run" jak biały człowiek, a nie ;)

Awatar użytkownika
nowyk123
wannabe
wannabe
Posty: 185
Rejestracja: 05 mar 2017, 21:46

Re: Problem z polączeniem w gns do Clouda

#3

#3 Post autor: nowyk123 »

Mam ustawiony loopback adapter tak
https://zapodaj.net/d0c8508bff186.png.html

Obecnie u mnie to tak wygląda:
R1#show ip interface
FastEthernet0/0 is up, line protocol is up
Internet address is 10.4.1.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF Fast switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Policy routing is disabled
Network address translation is disabled
BGP Policy Mapping is disabled
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
Ethernet1/0 is administratively down, line protocol is down
Internet protocol processing disabled
Ethernet2/0 is administratively down, line protocol is down
Internet protocol processing disabled
Ethernet2/1 is administratively down, line protocol is down
Internet protocol processing disabled
Ethernet2/2 is administratively down, line protocol is down
Internet protocol processing disabled
Ethernet2/3 is administratively down, line protocol is down
Internet protocol processing disabled
FastEthernet3/0 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/1 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/2 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/3 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/4 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/5 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/6 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/7 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/8 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/9 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/10 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/11 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/12 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/13 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/14 is up, line protocol is down
Internet protocol processing disabled
FastEthernet3/15 is up, line protocol is down
Internet protocol processing disabled
Vlan1 is up, line protocol is down
Internet protocol processing disabled

A show run tak wygladA:
R1#show run
Building configuration...

Current configuration : 1506 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
interface FastEthernet0/0
ip address 10.4.1.1 255.255.255.0
duplex auto
speed auto
!
interface Ethernet1/0
no ip address
shutdown
half-duplex
!
interface Ethernet2/0
no ip address
shutdown
half-duplex
!
interface Ethernet2/1
no ip address
shutdown
half-duplex
!
interface Ethernet2/2
no ip address
shutdown
half-duplex
!
interface Ethernet2/3
no ip address
shutdown
half-duplex
!
interface FastEthernet3/0
!
interface FastEthernet3/1
!
interface FastEthernet3/2
!
interface FastEthernet3/3
!
interface FastEthernet3/4
!
interface FastEthernet3/5
!
interface FastEthernet3/6
!
interface FastEthernet3/7
!
interface FastEthernet3/8
!
interface FastEthernet3/9
!
interface FastEthernet3/10
!
interface FastEthernet3/11
!
interface FastEthernet3/12
!
interface FastEthernet3/13
!
interface FastEthernet3/14
!
interface FastEthernet3/15
!
interface Vlan1
no ip address
!
!
no ip http server
ip forward-protocol nd
!
!
!
no cdp log mismatch duplex
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end

Nie jestem w stanie wykonać ping na 10.4.1.1
ani z mojego laptopa ani
z programu GNS3...
a gdzie mialbym dodac ta trase route do programy gns3 czy na lokalny komp?

Awatar użytkownika
nowyk123
wannabe
wannabe
Posty: 185
Rejestracja: 05 mar 2017, 21:46

Re: Problem z polączeniem w gns do Clouda

#4

#4 Post autor: nowyk123 »

Dalej się mecze z tym problemem....
ping nieskuteczny tutaj
R1#ping 8.8.8.8

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

Tablica routingu u mnie taka:

R1#show route

R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.37.1 to network 0.0.0.0

C 192.168.37.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 192.168.37.1



Obecnie show run wygląda tak:
R1#show run
Building configuration...

Current configuration : 1124 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
!
!
ip cef
ip name-server 8.8.8.8
ip name-server 8.8.4.4
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
interface FastEthernet0/0
ip address 192.168.37.2 255.255.255.0
duplex auto
speed auto
!
interface Ethernet1/0
no ip address
shutdown
half-duplex
!
interface Ethernet2/0
no ip address
shutdown
half-duplex
!
interface Ethernet2/1
no ip address
shutdown
half-duplex
!
interface Ethernet2/2
no ip address
shutdown
half-duplex
!
interface Ethernet2/3
no ip address
shutdown
half-duplex
!
!
no ip http server
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip route 0.0.0.0 0.0.0.0 192.168.37.1
!
!
!
no cdp log mismatch duplex
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end

Jeśli chodzi o mój lokalny laptop to mam LOOPback:
Ethernet adapter Ethernet 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Karta Microsoft KM-TEST ze sprzężeniem zwrotnym
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c4d0:787c:c8d9:133a%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.37.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 1023541324
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-34-27-D8-8C-16-45-44-CA-5B
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled


i mój WIFI standard:

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Qualcomm Atheros QCA9377 Wireless Network Adapter
Physical Address. . . . . . . . . : 70-C9-4E-E0-03-81
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::cc05:e5ed:e8f7:5c81%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.104(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : wtorek, 9 czerwca 2020 10:35:37
Lease Expires . . . . . . . . . . : środa, 10 czerwca 2020 10:35:37
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 108054862
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-34-27-D8-8C-16-45-44-CA-5B
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

ODPOWIEDZ