02-04-2020 04:58 AM
Hello for everybody.
We have cat 9500 with ip management 192.168.100.2/24 and ip default-gateway 192.168.100.1. Unfortunately, there is no connection to external inet from this interface. Especifically for this purpose, i created another interface 192.168.101.2, which has Internet access. Is this possible to use this interface for connection to tools.cisco.com for activation dna license?
int vlan 2 192.168.101.2/24
maybe im wrong, but this should be smt like
ip http client source-interface Vlan2
02-04-2020 09:06 AM
02-04-2020 11:50 AM
from my switch
mps-9500-core#sh ip int br | i Vlan
Vlan1 192.168.100.2 YES NVRAM up up
Vlan2 192.168.101.2 YES manual up up
mps-9500-core#sh run | i ip default-gateway
ip default-gateway 192.168.100.1
mps-9500-core#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)
mps-9500-core#ping 8.8.8.8 source vlan 2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 192.168.101.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 17/17/18 ms
mps-9500-core#
02-04-2020 11:32 PM - edited 02-04-2020 11:38 PM
and i have question about smt like "lookup of cli".
mps-9500-core#ping 8.8.8.8 source vlan 2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 192.168.101.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 19/19/20 ms
mps-9500-core#ping tools.cisco.com source vlan 2
^
% Invalid input detected at '^' marker.
mps-9500-core#
Is this possible to fix it? Maybe i should select dns server for vlan 2 only?
If i understood correctly, its - ip name-server 4.2.2.2 8.8.8.8 for example, but for vlan 2 only...
02-05-2020 04:19 AM
02-05-2020 11:20 AM
this is possible commands
mps-9500-core#conf t
Enter configuration commands, one per line. End with CNTL/Z.
mps-9500-core(config)#ip dn?
dns
mps-9500-core(config)#ip dn
mps-9500-core(config)#ip dns s?
server spoofing
mps-9500-core(config)#ip dns ?
name-list Regular expression name-list
primary Configure primary DNS server
server Enable DNS server
spoofing Configure DNS spoofing
view Configure a DNS view
view-list Configure a DNS view-list
mps-9500-core(config)#ip dns se
mps-9500-core(config)#ip dns server ?
queue Configure queue parameters
view-group Configure a DNS view-list for global use on this system
<cr> <cr>
mps-9500-core(config)#dn
mps-9500-core(config)#dn?
% Unrecognized command
mps-9500-core(config)#na
mps-9500-core(config)#
mps-9500-core#na?
name-connection
mps-9500-core#ip dn
mps-9500-core#ip dn?
% Unrecognized command
mps-9500-core#
02-06-2020 01:26 AM
02-06-2020 12:08 PM
I can try to change default-gateway. But can this switch ping any node by name, not only by ip.
For example ping tools.cisco.com and ping 72.163.4.38.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide