Discussion:
[ILUG] virtual networking question...
Braun Brelin
2017-11-22 22:13:32 UTC
Permalink
Hi all,



I've got a Digital Ocean droplet running Ubuntu 16.04.

I've set up dynamips so that I can run a virtual cisco 7200 router on it.



I'm trying to figure out how to ssh to the router console from the DO
droplet.

So far I haven't been able to get it to work.



Here is what my dynamips configuration file looks like:



[127.0.0.1:7200]

[[7200]]

image = /opt/dynamips/images/c7200-advipservicesk9-mz.152-4.S5.bin
npe=npe-400
idlepc = 0x6082c30c
ram = 320



[[Router R3]]
model =7200
console = 2015
disk0 = 64
f0/0 = NIO_tap:tap0



I set up a br0 interface to bridge between my eth1 device and my tap0
device.



***@python-server1:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000. 5296a0655045 no eth1
tap0



The IP address of tap0 is 172.16.16.5 and its netmask is 255.255.0.0

The IP address of the br0 device is 10.131.35.43





Here is the virtual router interface configuration

router3#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.16.16.5 YES NVRAM up up
FastEthernet0/1 unassigned YES NVRAM administratively down down



Unfortunately, nothing I do here seem to work. I can't get the droplet to
forward packets to

172.16.16.5 to the router.

When I try and do an ssh 172.16.16.5 as root, it always asks for the

droplets root password and logs me into the droplet console again.



Attempting to ping to the outside world from the router fails completely.



Any help really appreciated.



Thanks,


Braun Brelin
--
Irish Linux Users Group
---
You received this message because you are subscribed to the Google Groups "ILUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ilug+***@linux.ie.
To post to this group, send an email to ***@linux.ie.
Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/CAJ2OvpjQRa8GpuCz5JOgjw-rvS4-jmce_rm%3Dkh7KaJ%3DvCEe0mA%40mail.gmail.com.
Loading...