cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1282
Views
0
Helpful
1
Replies

Cisco Prime Infrastrucutre 3.5

toma.nikolov96
Level 1
Level 1

I have a question about having two interfaces in a virtual CPI solution with both having default gateway. 
In the setup process the default gateway is being set and it appears in the global configuration of CPI configuration. 
If I add a new virtual NIC and set an IP address, is it possible to have another gateway or static route in order to make the second interface to communicate outside the local LAN segment. 

Here is the example: 

test-cpi/admin# show run

Generating configuration...

!       

hostname test-cpi

!       

ip domain-name test-cpi

!       

interface GigabitEthernet 0

  ip address 192.168.175.19 255.255.255.0

  ipv6 address autoconfig

!       

default gateway 192.168.175.1 

 

test-cpi/admin# show interface

GigabitEthernet 0

  : flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.175.19  netmask 255.255.255.0  broadcast 192.168.175.255

        inet6 fe80::250:56ff:fea8:304a  prefixlen 64  scopeid 0x20<link>

        ether 00:50:56:a8:30:4a  txqueuelen 1000  (Ethernet)

        RX packets 352153  bytes 68125563 (64.9 MiB)

        RX errors 0  dropped 290  overruns 0  frame 0

        TX packets 15789  bytes 12861192 (12.2 MiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

GigabitEthernet 1

  : flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 10.10.10.10  netmask 255.255.255.0  broadcast 10.255.255.255

        inet6 fe80::250:56ff:feb6:685a  prefixlen 64  scopeid 0x20<link>

        ether 00:50:56:b6:68:5a  txqueuelen 1000  (Ethernet)

        RX packets 38897  bytes 2370632 (2.2 MiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 16  bytes 1296 (1.2 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 807262  bytes 503941806 (480.5 MiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 807262  bytes 503941806 (480.5 MiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

=============================================================

ade # ifconfig

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.175.19  netmask 255.255.255.0  broadcast 192.168.175.255

        inet6 fe80::250:56ff:fea8:304a  prefixlen 64  scopeid 0x20<link>

        ether 00:50:56:a8:30:4a  txqueuelen 1000  (Ethernet)

        RX packets 354505  bytes 68558957 (65.3 MiB)

        RX errors 0  dropped 290  overruns 0  frame 0

        TX packets 15949  bytes 12885400 (12.2 MiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 10.10.10.10  netmask 255.255.255.0  broadcast 10.255.255.255

        inet6 fe80::250:56ff:feb6:685a  prefixlen 64  scopeid 0x20<link>

        ether 00:50:56:b6:68:5a  txqueuelen 1000  (Ethernet)

        RX packets 38939  bytes 2374076 (2.2 MiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 16  bytes 1296 (1.2 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

In the current example I want GigabitEthernet 1 to be able to communicate outside the 10.10.10.0/24 subnet. 

If it is possible can anybody suggest how it is done? 

 

Thank you in advance!

1 Reply 1

marce1000
VIP
VIP

 

 - You  may be able to configure  this at the linux-root level ; log on as admin via ssh -> shell -> sudo -s

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Review Cisco Networking for a $25 gift card