Virtual 7750 SR Available in 12.0.R4
Re: Virtual 7750 SR Available in 12.0.R4
if your VM keeps rebooting after 'DNS preferred ipv4..' that means you did not assign enough RAM to your machine. 12.R5 started working after i put 1.5G of RAM on it.
Re: Virtual 7750 SR Available in 12.0.R4
one more thing - nested virtualization is possible. i am running the following setup:
(host) win7 -> (guest) xubuntu on vmware-> (nested guest) SROS on virt-manager
all works fine.
(host) win7 -> (guest) xubuntu on vmware-> (nested guest) SROS on virt-manager
all works fine.
Re: Virtual 7750 SR Available in 12.0.R4
SRx in Orlando would have been nice, but I went to SRx in Istanbul earlier this year.nerdydad wrote:Stoffen,
If you happen to be at SReXperts in Orlando next month, I owe you a beer.
Thanks for sharing all of this, saved me a lot of time trying to get things working in VMware.
Kevin
SRx was this week?
How was it?
Did they release any news about vSR's?
[flash=]
Christoffer
Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
LinkedIN
[/flash]
Christoffer
Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
[/flash]
Re: Virtual 7750 SR Available in 12.0.R4
They had a big presentation about it, stating that the vRR running on x86_64 outperforms their routers. I found it interesting to say, but it makes sense. They handed out thumb drives with a copy of the 12.0R5 VM qcow2 image, a PDF document trying to explain how to use it, and the product documentation. You can also email in for a 90-day trial license. I haven't emailed in for my license yet.Stoffen wrote: SRx in Orlando would have been nice, but I went to SRx in Istanbul earlier this year.
SRx was this week?
How was it?
Did they release any news about vSR's?
The documentation provides some great information on configuring the XML file for libvirt and a brief overview of how to get yourself up and running. I'm not sure about the distribution policy of the documents though. I don't imagine it would be too difficult to obtain from the website if you are entitled already.
I figured the VM thing was going to be a hush hush type scenario, but they were definitely wide open about it, bragging about it, and pushing how well it works in a SDN.
Re: Virtual 7750 SR Available in 12.0.R4
Hi Everyone,
If you don't mind I wanted to share with you how I got it working on Xubuntu.
I'm a linux beginner and most of it was just following Stoffen's steps (big THANK YOU for your guides) and if there is anything that can be done simpler your feedback is appreciated.
###########################
# 1. Package installation #
###########################
rifster@xubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
sudo apt-get update
sudo apt-get install qemu-kvm qemu qemu-common ubuntu-vm-builder libvirt-bin bridge-utils virt-manager
sudo adduser <USERNAME> libvirtd
sudo adduser <USERNAME> kvm
sudo reboot -h now
### list of related packages on my PC ###
rifster@xubuntu:~$ dpkg -l | egrep "(qemu|libvirt|virt-m|bridge-u)"
ii bridge-utils 1.5-6ubuntu2 amd64 Utilities for configuring the Linux Ethernet bridge
ii ipxe-qemu 1.0.0+git-20131111.c3d1e78-2ubuntu1 all PXE boot firmware - ROM images for qemu
ii libvirt-bin 1.2.2-0ubuntu13.1.5 amd64 programs for the libvirt library
ii libvirt0 1.2.2-0ubuntu13.1.5 amd64 library for interfacing with different virtualization systems
ii python-libvirt 1.2.2-0ubuntu2 amd64 libvirt Python bindings
ii qemu 2.0.0+dfsg-2ubuntu1.5 amd64 fast processor emulator
ii qemu-common 2.0.0+dfsg-2ubuntu1.5 all dummy transitional package from qemu-common to qemu-keymaps
ii qemu-keymaps 2.0.0+dfsg-2ubuntu1.5 all QEMU keyboard maps
ii qemu-kvm 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU Full virtualization on x86 hardware (transitional package)
ii qemu-system 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries
ii qemu-system-arm 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (arm)
ii qemu-system-common 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-mips 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (mips)
ii qemu-system-misc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (miscelaneous)
ii qemu-system-ppc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (ppc)
ii qemu-system-sparc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (sparc)
ii qemu-system-x86 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (x86)
ii qemu-user 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU user mode emulation binaries
ii qemu-utils 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU utilities
ii virt-manager 0.9.5-1ubuntu3 all desktop application for managing virtual machines
###############################
# 2. Virtual Machine Manager setup #
###############################
2.1 Create a new virtual machine
2.2 Type its name and choose "Import existin disk image"
2.3 Browse for the qcow2 file (Browse -> Browse Local), "OS type" and "Version" levae as "Generic"
2.4 Assign at least 2GB of RAM and 2 CPUs (My PC has only 4 GB and I was able to run 4 VMs with IGP running. When tried to go with 1,5GB I had random issues with IOM processes, VMs rebooting, etc.)
2.5 Check "Customize configuration before install" and click "Finish"
2.6 On new window click on "Disk1 -> Advanced options -> Storage format" and pick qcow2, hit "Apply" and "Begin installation" on the top
2.7 Qemu window should pop up showing VM booting
#######################
# 3. Connecting to SR OS #
#######################
3.1 Run terminal window and type
rifster@xubuntu:~$ virsh list --all
Id Name State
----------------------------------------------------
- sros01 running
- sros02 shut off
- sros03 shut off
- sros04 shut off
3.2 Then "virsh console <VM_NAME>". Now you should see booting process of TiMOS software. Tap enter at the end to get the login prompt and the CLI.
3.3 SR OS is running!
#######################
# 4. Interconnecting VMs #
#######################
4.1 Go to /etc/libvirt/qemu/networks/ and create additional bridge xml files (link12.xml, link13.xml, etc.)
rifster@xubuntu:/etc/libvirt/qemu/networks$ ls -l
drwxrwxrwx 2 root root 4096 oct 11 00:16 autostart
-rwxrwxrwx 1 root root 228 sep 29 22:33 default.xml
-rwxrwxrwx 1 root root 405 oct 10 22:24 link12.xml
-rw------- 1 root root 405 oct 11 00:15 link13.xml
-rwxrwxrwx 1 root root 88 oct 11 00:11 link13.xml~
-rw------- 1 root root 405 oct 11 00:15 link24.xml
-rwxrwxrwx 1 root root 405 oct 11 00:10 link24.xml~
-rw------- 1 root root 405 oct 11 00:15 link34.xml
-rwxrwxrwx 1 root root 88 oct 11 00:12 link34.xml~
4.2 Type basic configuration and save:
<network>
<name>link12</name>
<bridge name='link12' stp='on' delay='0'/>
</network>
4.3 The following steps show how to create additional bridges which will be automatically enabled upon system startup.
rifster@xubuntu:/etc/libvirt/qemu/networks$ virsh
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # net-define /etc/libvirt/qemu/networks/link12.xml
virsh # net-autostart link12
virsh # net-list --all
virsh # net-start link12
virsh # exit
rifster@xubuntu:/etc/libvirt/qemu/networks$ ip link show link12
9: link12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:1f:4f:af brd ff:ff:ff:ff:ff:ff
rifster@xubuntu:/etc/libvirt/qemu/networks$ brctl show
bridge name bridge id STP enabled interfaces
link12 8000.5254001f4faf yes link12-nic
vnet1
link13 8000.5254009d2be3 yes link13-nic
vnet2
link24 8000.52540084b6e9 yes link24-nic
link34 8000.525400adf166 yes link34-nic
virbr0 8000.fe54002686f7 yes vnet0
4.4 Restart system
4.5 Open Virtual Machine Manager and enter VM setup window (right click -> Open)
4.6 "Show cirtual hardware details" -> right click -> "Add hardware"
4.7 "Network" -> "Host device": "Virtual network 'link12': isolated network" -> "Device model": "e1000" -> Finish
4.8 Repeat poins 4.5-4.7 on all your VMs (choose the same bridge interface on devices you want to connect)
4.9 Verify if the bridge interface is UP
rifster@xubuntu:/etc/libvirt/qemu/networks$ ip link show link12
9: link12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:1f:4f:af brd ff:ff:ff:ff:ff:ff
4.10 NOTE: First network card belogs to CPM port A/1, next one is port 1/1/1 and so on...
4.11 When bridged ports on SRs should be UP/UP and if interface with IP configured arp should be there as well.
4.12 Good luck!
If you don't mind I wanted to share with you how I got it working on Xubuntu.
I'm a linux beginner and most of it was just following Stoffen's steps (big THANK YOU for your guides) and if there is anything that can be done simpler your feedback is appreciated.
###########################
# 1. Package installation #
###########################
rifster@xubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
sudo apt-get update
sudo apt-get install qemu-kvm qemu qemu-common ubuntu-vm-builder libvirt-bin bridge-utils virt-manager
sudo adduser <USERNAME> libvirtd
sudo adduser <USERNAME> kvm
sudo reboot -h now
### list of related packages on my PC ###
rifster@xubuntu:~$ dpkg -l | egrep "(qemu|libvirt|virt-m|bridge-u)"
ii bridge-utils 1.5-6ubuntu2 amd64 Utilities for configuring the Linux Ethernet bridge
ii ipxe-qemu 1.0.0+git-20131111.c3d1e78-2ubuntu1 all PXE boot firmware - ROM images for qemu
ii libvirt-bin 1.2.2-0ubuntu13.1.5 amd64 programs for the libvirt library
ii libvirt0 1.2.2-0ubuntu13.1.5 amd64 library for interfacing with different virtualization systems
ii python-libvirt 1.2.2-0ubuntu2 amd64 libvirt Python bindings
ii qemu 2.0.0+dfsg-2ubuntu1.5 amd64 fast processor emulator
ii qemu-common 2.0.0+dfsg-2ubuntu1.5 all dummy transitional package from qemu-common to qemu-keymaps
ii qemu-keymaps 2.0.0+dfsg-2ubuntu1.5 all QEMU keyboard maps
ii qemu-kvm 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU Full virtualization on x86 hardware (transitional package)
ii qemu-system 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries
ii qemu-system-arm 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (arm)
ii qemu-system-common 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-mips 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (mips)
ii qemu-system-misc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (miscelaneous)
ii qemu-system-ppc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (ppc)
ii qemu-system-sparc 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (sparc)
ii qemu-system-x86 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU full system emulation binaries (x86)
ii qemu-user 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU user mode emulation binaries
ii qemu-utils 2.0.0+dfsg-2ubuntu1.5 amd64 QEMU utilities
ii virt-manager 0.9.5-1ubuntu3 all desktop application for managing virtual machines
###############################
# 2. Virtual Machine Manager setup #
###############################
2.1 Create a new virtual machine
2.2 Type its name and choose "Import existin disk image"
2.3 Browse for the qcow2 file (Browse -> Browse Local), "OS type" and "Version" levae as "Generic"
2.4 Assign at least 2GB of RAM and 2 CPUs (My PC has only 4 GB and I was able to run 4 VMs with IGP running. When tried to go with 1,5GB I had random issues with IOM processes, VMs rebooting, etc.)
2.5 Check "Customize configuration before install" and click "Finish"
2.6 On new window click on "Disk1 -> Advanced options -> Storage format" and pick qcow2, hit "Apply" and "Begin installation" on the top
2.7 Qemu window should pop up showing VM booting
#######################
# 3. Connecting to SR OS #
#######################
3.1 Run terminal window and type
rifster@xubuntu:~$ virsh list --all
Id Name State
----------------------------------------------------
- sros01 running
- sros02 shut off
- sros03 shut off
- sros04 shut off
3.2 Then "virsh console <VM_NAME>". Now you should see booting process of TiMOS software. Tap enter at the end to get the login prompt and the CLI.
3.3 SR OS is running!
#######################
# 4. Interconnecting VMs #
#######################
4.1 Go to /etc/libvirt/qemu/networks/ and create additional bridge xml files (link12.xml, link13.xml, etc.)
rifster@xubuntu:/etc/libvirt/qemu/networks$ ls -l
drwxrwxrwx 2 root root 4096 oct 11 00:16 autostart
-rwxrwxrwx 1 root root 228 sep 29 22:33 default.xml
-rwxrwxrwx 1 root root 405 oct 10 22:24 link12.xml
-rw------- 1 root root 405 oct 11 00:15 link13.xml
-rwxrwxrwx 1 root root 88 oct 11 00:11 link13.xml~
-rw------- 1 root root 405 oct 11 00:15 link24.xml
-rwxrwxrwx 1 root root 405 oct 11 00:10 link24.xml~
-rw------- 1 root root 405 oct 11 00:15 link34.xml
-rwxrwxrwx 1 root root 88 oct 11 00:12 link34.xml~
4.2 Type basic configuration and save:
<network>
<name>link12</name>
<bridge name='link12' stp='on' delay='0'/>
</network>
4.3 The following steps show how to create additional bridges which will be automatically enabled upon system startup.
rifster@xubuntu:/etc/libvirt/qemu/networks$ virsh
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # net-define /etc/libvirt/qemu/networks/link12.xml
virsh # net-autostart link12
virsh # net-list --all
virsh # net-start link12
virsh # exit
rifster@xubuntu:/etc/libvirt/qemu/networks$ ip link show link12
9: link12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:1f:4f:af brd ff:ff:ff:ff:ff:ff
rifster@xubuntu:/etc/libvirt/qemu/networks$ brctl show
bridge name bridge id STP enabled interfaces
link12 8000.5254001f4faf yes link12-nic
vnet1
link13 8000.5254009d2be3 yes link13-nic
vnet2
link24 8000.52540084b6e9 yes link24-nic
link34 8000.525400adf166 yes link34-nic
virbr0 8000.fe54002686f7 yes vnet0
4.4 Restart system
4.5 Open Virtual Machine Manager and enter VM setup window (right click -> Open)
4.6 "Show cirtual hardware details" -> right click -> "Add hardware"
4.7 "Network" -> "Host device": "Virtual network 'link12': isolated network" -> "Device model": "e1000" -> Finish
4.8 Repeat poins 4.5-4.7 on all your VMs (choose the same bridge interface on devices you want to connect)
4.9 Verify if the bridge interface is UP
rifster@xubuntu:/etc/libvirt/qemu/networks$ ip link show link12
9: link12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:1f:4f:af brd ff:ff:ff:ff:ff:ff
4.10 NOTE: First network card belogs to CPM port A/1, next one is port 1/1/1 and so on...
4.11 When bridged ports on SRs should be UP/UP and if interface with IP configured arp should be there as well.
4.12 Good luck!
Re: Virtual 7750 SR Available in 12.0.R4
a bit more...
###########################
# 5. SSH Management setup #
###########################
It is possible to ssh to each VM on the CPM A/1 management interface.
5.1 Go to /etc/libvirt/qemu/networks/ and create additional bridge xml file (i.e. mgmt.xml)
5.2 Type basic configuration and save:
<network>
<name>mgmt</name>
<forward mode='route'/>
<bridge name='mgmt' stp='on' delay='0'/>
<ip address='MGMT_IP_PREFIX' netmask='<PREFIX_MASK>'>
</ip>
</network>
Example:
<network>
<name>mgmt</name>
<forward mode='route'/>
<bridge name='mgmt' stp='on' delay='0'/>
<ip address='10.10.10.254' netmask='255.255.255.0'>
</ip>
</network>
5.3 Define the bridge and set autostart
rifster@xubuntu:/etc/libvirt/qemu/networks$ virsh
[...]
virsh # net-define /etc/libvirt/qemu/networks/mgmt.xml
virsh # net-autostart mgmt
virsh # net-list --all
virsh # net-start mgmt
virsh # exit
rifster@xubuntu:/etc/libvirt/qemu/networks$ ifconfig mgmt
mgmt Link encap:Ethernet HWaddr 52:54:00:aa:e3:e4
inet addr:10.10.10.254 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:973 errors:0 dropped:0 overruns:0 frame:0
TX packets:781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85538 (85.5 KB) TX bytes:58528 (58.5 KB)
rifster@xubuntu:/etc/libvirt/qemu/networks$ ip link show mgmt
20: mgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:aa:e3:e4 brd ff:ff:ff:ff:ff:ff
5.4 Restart system: sudo reboot -h now
5.5 Open Virtual Machine Manager and enter VM setup window (right click -> Open)
5.6 First NIC is dedicaated to CPM A/1 port connectivity. Set "Source device": "Virtual network 'mgmt': Routed network" and "Device model": "e1000" (this is important, if not changed SR OS will reboot when you assign IP address in bof).
5.7 When VM is running you should see vnet interface assigned to mgmt bridge
rifster@xubuntu:/etc/libvirt/qemu/networks$ brctl show
[...]
mgmt 8000.525400aae3e4 yes mgmt-nic
vnet0
5.8 Go to your VM and modify bof:
bof
address <MGMT_IP_ADDRESS>/<MASK> active
save
exit show bof
Example:
bof
address 10.10.10.1/24 active
save
exit show bof
5.9 Repeat points 5.5-5.8 on all your VMs
Now you can ssh to the VM with your client (Putty, SecureCRT) using the MGMT IP addess.
5.10a OPTIONAL! If you want to ssh from a PC in your LAN (not the host PC on which you run the VMs) you need to add the static route to bof.
static-route <YOUR_LAN_NETWORK>/<MASK> next-hop <HOST_GATEWAY>
The gateway is the IP address assigned to mgmt interface.
Example:
static-route 10.0.0.0/24 next-hop 10.10.10.254
5.10b Go to any PC in you LAN and add static route to your VM management network (on Windows):
route add <VM_MGMT_PREFIX> mask <MASK> <VM-HOST_LAN_IP> metric 1
Example:
route add 10.10.10.0 mask 255.255.255.0 10.0.0.10 metric 1
Now you can ssh to your VM from LAN to any VM using management network.
##############################
# 6. Sniffing with Wireshark #
##############################
6.0 To install Wireshark:
sudo apt-get update
sudo apt-get install wireshark
Note that Wireshark is also a part of GNS3 package.
6.1 Following steps will allow non-root to user Wireshark (interface list is empty if run as non-root)
sudo dpkg-reconfigure wireshark-common
sudo usermod -a -G wireshark $USER
choose "Yes"
6.2 Logout, log back in and run Wireshark. Start sniffing!
###########################
# 5. SSH Management setup #
###########################
It is possible to ssh to each VM on the CPM A/1 management interface.
5.1 Go to /etc/libvirt/qemu/networks/ and create additional bridge xml file (i.e. mgmt.xml)
5.2 Type basic configuration and save:
<network>
<name>mgmt</name>
<forward mode='route'/>
<bridge name='mgmt' stp='on' delay='0'/>
<ip address='MGMT_IP_PREFIX' netmask='<PREFIX_MASK>'>
</ip>
</network>
Example:
<network>
<name>mgmt</name>
<forward mode='route'/>
<bridge name='mgmt' stp='on' delay='0'/>
<ip address='10.10.10.254' netmask='255.255.255.0'>
</ip>
</network>
5.3 Define the bridge and set autostart
rifster@xubuntu:/etc/libvirt/qemu/networks$ virsh
[...]
virsh # net-define /etc/libvirt/qemu/networks/mgmt.xml
virsh # net-autostart mgmt
virsh # net-list --all
virsh # net-start mgmt
virsh # exit
rifster@xubuntu:/etc/libvirt/qemu/networks$ ifconfig mgmt
mgmt Link encap:Ethernet HWaddr 52:54:00:aa:e3:e4
inet addr:10.10.10.254 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:973 errors:0 dropped:0 overruns:0 frame:0
TX packets:781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85538 (85.5 KB) TX bytes:58528 (58.5 KB)
rifster@xubuntu:/etc/libvirt/qemu/networks$ ip link show mgmt
20: mgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:aa:e3:e4 brd ff:ff:ff:ff:ff:ff
5.4 Restart system: sudo reboot -h now
5.5 Open Virtual Machine Manager and enter VM setup window (right click -> Open)
5.6 First NIC is dedicaated to CPM A/1 port connectivity. Set "Source device": "Virtual network 'mgmt': Routed network" and "Device model": "e1000" (this is important, if not changed SR OS will reboot when you assign IP address in bof).
5.7 When VM is running you should see vnet interface assigned to mgmt bridge
rifster@xubuntu:/etc/libvirt/qemu/networks$ brctl show
[...]
mgmt 8000.525400aae3e4 yes mgmt-nic
vnet0
5.8 Go to your VM and modify bof:
bof
address <MGMT_IP_ADDRESS>/<MASK> active
save
exit show bof
Example:
bof
address 10.10.10.1/24 active
save
exit show bof
5.9 Repeat points 5.5-5.8 on all your VMs
Now you can ssh to the VM with your client (Putty, SecureCRT) using the MGMT IP addess.
5.10a OPTIONAL! If you want to ssh from a PC in your LAN (not the host PC on which you run the VMs) you need to add the static route to bof.
static-route <YOUR_LAN_NETWORK>/<MASK> next-hop <HOST_GATEWAY>
The gateway is the IP address assigned to mgmt interface.
Example:
static-route 10.0.0.0/24 next-hop 10.10.10.254
5.10b Go to any PC in you LAN and add static route to your VM management network (on Windows):
route add <VM_MGMT_PREFIX> mask <MASK> <VM-HOST_LAN_IP> metric 1
Example:
route add 10.10.10.0 mask 255.255.255.0 10.0.0.10 metric 1
Now you can ssh to your VM from LAN to any VM using management network.
##############################
# 6. Sniffing with Wireshark #
##############################
6.0 To install Wireshark:
sudo apt-get update
sudo apt-get install wireshark
Note that Wireshark is also a part of GNS3 package.
6.1 Following steps will allow non-root to user Wireshark (interface list is empty if run as non-root)
sudo dpkg-reconfigure wireshark-common
sudo usermod -a -G wireshark $USER
choose "Yes"
6.2 Logout, log back in and run Wireshark. Start sniffing!
Re: Virtual 7750 SR Available in 12.0.R4
Is the image available on the Alcatel site or somewhere else?
Re: Virtual 7750 SR Available in 12.0.R4
Is anybody runinng it with VmWare Fusion? I am facing few issue as the some SR-OS are still rebooting and crashing
All rights reserved. All use subject to applicable license agreements.
Built on Tue Jul 29 16:22:20 PDT 2014 by builder in /rel12.0/b1/R4/panos/main
Login: *** Exception at 040 s 10/19/14 10:38:36.305 ***
PF reason : Page not present, Supervisor mode
PF address : 0x00000010
Core : 1
Task Id : 0x1fb6b9a0 (pipSched)
ESF PC : 0x180103 (ifDriverGetPkt (0x0017fdb2) + 0x351)
Exception Vec : 14 (Page Fault)
Exception Status : 0x00010212
Exception Code : 0x00000000
TCB PC : 0x180103 (ifDriverGetPkt (0x0017fdb2) + 0x351)
TCB Registers : eax=151FEB60 ebx=22402AA0 ecx=00000001 edx=00000000
: esi=151FEB60 edi=20B05FA4 ebp=7F0A6134 esp=7F0A611C
: pc=00180103 flags=00000012
0x16fb559, i386StackBackTrace (0x016fb559) + 0x0
0x172f5cf, stackBackTrace (0x0172f5c4) + 0xb
0x18259b1, timosCrashDumpExcHandler (0x01825847) + 0x16a
0x6180ecf, excExcHandle (0x06180ce2) + 0x1ed
0x6189c55, excStub (0x06189c10) + 0x45
0x180103, ifDriverGetPkt (0x0017fdb2) + 0x351
0x41b7ab8, pipManagementTxTraffic (0x041b7a0b) + 0xad
0x41dd54e, pipTxL2Do (0x041dcd21) + 0x82d
0x41ddc28, pipTxL2 (0x041dda20) + 0x208
0x41e50db, pipTxArp (0x041e4f5f) + 0x17c
0x5e51c4, arp_SendGratuitousARP (0x005e4e72) + 0x352
0x5e7b78, arp_SendGratuitousARPFromAddrEnt (0x005e7b0e) + 0x6a
0x5e8148, arp_GratArpTic (0x005e809e) + 0xaa
0x5ee2bd, ARP_Tic (0x005ee0c7) + 0x1f6
0x4206655, pipTic (0x04206633) + 0x22
0x4206676, pipSchedHandlePipTic (0x04206657) + 0x1f
0x42074fd, pipSchedTask (0x0420746d) + 0x90
System Crash Dump Written - Please run the command
`admin tech-support` and contact your Alcatel-Lucent
support representative.
Rebooting...
Using preloaded VxWorks boot loader at 0x00008000, size 0x00098000, entrypoint 0x00008010
WARNING: PCI configuration may be wrong. Unable to get main pci bus number, using 1 instead
System Crash Dump Written - Please run the command
`admin tech-support` and contact your Alcatel-Lucent
support representative.
Rebooting...
Using preloaded VxWorks boot loader at 0x00008000, size 0x00098000, entrypoint 0x00008010
*** ERROR: Preloaded boot ROM is corrupted. Comparison (preload, saved @ 0x202B377C):
0x c000: 0x316667fa != 0xffffff44
0x c004: 0x8ed88ec0 != 0xff58bd83
0x c008: 0xb86667d0 != 0x0f13ffff
0x c00c: 0x0000c200 != 0x00010386
0x c010: 0x008b6667 != 0x64958b00
0x c014: 0x67c48966 != 0x23ffffff
0x c018: 0xc200b866 != 0xffff3895
0x c01c: 0x66670000 != 0x3cb58bff
0x c020: 0x6667008b != 0x8dffffff
0x c024: 0x673ac083 != 0xb60fd61c
0x c028: 0x18010f66 != 0x0fd28513
0x c02c: 0x00b86667 != 0x0000a185
0x c030: 0x670000c2 != 0x4bb60f00
0x c034: 0x67008b66 != 0xd1b60f01
0x c038: 0x2ec08366 != 0xff64add3
0x c03c: 0x010f6667 != 0x9529ffff
0x c040: 0xb8666710 != 0xffffff58
0x c044: 0x0000c200 != 0x8804538b
0x c048: 0x008b6667 != 0x01c08310
0x c04c: 0xc0836667 != 0xff50ad83
0x c050: 0x8b666734 != 0x8301ffff
0x c054: 0xd8220f00 != 0xffff5cbd
0x c058: 0x40b86667 != 0x0c7609ff
0x c05c: 0x0f000002 != 0xff50bd81
0x c060: 0x6667e022 != 0x0101ffff
0x c064: 0x000013b8 != 0x9c770000
0x c068: 0xc0220f00 != 0xff449d8b
0x c06c: 0x666700eb != 0x8d8bffff
0x c070: 0x6667c031 != 0xffffff58
0x c074: 0x000010b8 != 0x8903e9c1
0x c078: 0x8ed88e00 != 0xffff608d
0x c07c: 0x8ee08ec0 != 0x54958bff
0x c080: 0x67d08ee8 != 0x29ffffff
0x c084: 0xc200b866 != 0x648d8bca
0x c088: 0x66670000 != 0x89ffffff
0x c08c: 0x6667008b != 0xb58b204f
0x c090: 0x6740c083 != 0xffffff58
0x c094: 0xd2e0ea66 != 0x8907e683
0x c098: 0x00080012 != 0x8d8b1c77
0x c09c: 0x0026748d != 0xffffff60
0x c0a0: 0xf631208b != 0xff5c8d03
0x c0a4: 0xed31ff31 != 0x8d89ffff
0x c0a8: 0x8b9d006a != 0xffffff6c
0x c0ac: 0xd0ff0440 != 0x8d2bd189
0x c0b0: 0x8dfdebf4 != 0xffffff68
0x c0b4: 0x000000b6 != 0xff708d01
0x c0b8: 0x27bc8d00 != 0x9589ffff
0x c0bc: 0x00000000 != 0xffffff68
0x c0c0: 0xaddeadde != 0xc7304789
0x c200: 0x0000c280 != 0x8901ea83
0x c280: 0x0000c200 != 0x08c18301
0x c284: 0x00000000 != 0x760ef983
0x c288: 0x00000000 != 0x549d89e3
0x c28c: 0x0000ffff != 0x89ffffff
0x c290: 0x00cf9b00 != 0xffff588d
0x c294: 0x0000ffff != 0x60958bff
0x c298: 0x00cf9300 != 0x23ffffff
0x c29c: 0x0000ffff != 0xffff3495
0x c2a0: 0x00cf9a00 != 0x409d8bff
0x c2a4: 0x0000ffff != 0x8dffffff
0x c2a8: 0x00cf9a00 != 0xb60fd314
0x c2ac: 0x00270000 != 0xf621eb1a
0x c2b0: 0x0000c284 != 0x850f40c3
0x c2b4: 0x203f6000 != 0x00000540
0x c2b8: 0x07ff0000 != 0xff608d8b
0x c2bc: 0x09978000 != 0x0c23ffff
0x c2c0: 0x1fea8c0c != 0x00d1a09d
0x c2c4: 0x001995b5 != 0x03e1c100
0x c2c8: 0xcfcfcfcf != 0x0104528b
0x c2cc: 0xcfcfcfcf != 0x1ab60fca
0x c2d0: 0xcfcfcfcf != 0x014ab60f
0x c2d4: 0xcfcfcfcf != 0xd3f1b60f
0x c2d8: 0xcfcfcfcf != 0xffff60ad
0x c2dc: 0xcfcfcfcf != 0x58b529ff
0x c2e0: 0xcfcfcfcf != 0xf6ffffff
0x c2e4: 0xcfcfcfcf != 0xc77410c3
0x c2e8: 0xcfcfcfcf != 0x890fe383
0x c2ec: 0xcfcfcfcf != 0xffff4c9d
0x c2f0: 0xcfcfcfcf != 0x54b58bff
0x c2f4: 0xcfcfcfcf != 0x8bffffff
0x c2f8: 0xcfcfcfcf != 0xffff588d
0x c2fc: 0xcfcfcfcf != 0x8318ebff
82 total words differ
hard booting...
Running in a KVM/QEMU virtual machine
All rights reserved. All use subject to applicable license agreements.
Built on Tue Jul 29 16:22:20 PDT 2014 by builder in /rel12.0/b1/R4/panos/main
Login: *** Exception at 040 s 10/19/14 10:38:36.305 ***
PF reason : Page not present, Supervisor mode
PF address : 0x00000010
Core : 1
Task Id : 0x1fb6b9a0 (pipSched)
ESF PC : 0x180103 (ifDriverGetPkt (0x0017fdb2) + 0x351)
Exception Vec : 14 (Page Fault)
Exception Status : 0x00010212
Exception Code : 0x00000000
TCB PC : 0x180103 (ifDriverGetPkt (0x0017fdb2) + 0x351)
TCB Registers : eax=151FEB60 ebx=22402AA0 ecx=00000001 edx=00000000
: esi=151FEB60 edi=20B05FA4 ebp=7F0A6134 esp=7F0A611C
: pc=00180103 flags=00000012
0x16fb559, i386StackBackTrace (0x016fb559) + 0x0
0x172f5cf, stackBackTrace (0x0172f5c4) + 0xb
0x18259b1, timosCrashDumpExcHandler (0x01825847) + 0x16a
0x6180ecf, excExcHandle (0x06180ce2) + 0x1ed
0x6189c55, excStub (0x06189c10) + 0x45
0x180103, ifDriverGetPkt (0x0017fdb2) + 0x351
0x41b7ab8, pipManagementTxTraffic (0x041b7a0b) + 0xad
0x41dd54e, pipTxL2Do (0x041dcd21) + 0x82d
0x41ddc28, pipTxL2 (0x041dda20) + 0x208
0x41e50db, pipTxArp (0x041e4f5f) + 0x17c
0x5e51c4, arp_SendGratuitousARP (0x005e4e72) + 0x352
0x5e7b78, arp_SendGratuitousARPFromAddrEnt (0x005e7b0e) + 0x6a
0x5e8148, arp_GratArpTic (0x005e809e) + 0xaa
0x5ee2bd, ARP_Tic (0x005ee0c7) + 0x1f6
0x4206655, pipTic (0x04206633) + 0x22
0x4206676, pipSchedHandlePipTic (0x04206657) + 0x1f
0x42074fd, pipSchedTask (0x0420746d) + 0x90
System Crash Dump Written - Please run the command
`admin tech-support` and contact your Alcatel-Lucent
support representative.
Rebooting...
Using preloaded VxWorks boot loader at 0x00008000, size 0x00098000, entrypoint 0x00008010
WARNING: PCI configuration may be wrong. Unable to get main pci bus number, using 1 instead
System Crash Dump Written - Please run the command
`admin tech-support` and contact your Alcatel-Lucent
support representative.
Rebooting...
Using preloaded VxWorks boot loader at 0x00008000, size 0x00098000, entrypoint 0x00008010
*** ERROR: Preloaded boot ROM is corrupted. Comparison (preload, saved @ 0x202B377C):
0x c000: 0x316667fa != 0xffffff44
0x c004: 0x8ed88ec0 != 0xff58bd83
0x c008: 0xb86667d0 != 0x0f13ffff
0x c00c: 0x0000c200 != 0x00010386
0x c010: 0x008b6667 != 0x64958b00
0x c014: 0x67c48966 != 0x23ffffff
0x c018: 0xc200b866 != 0xffff3895
0x c01c: 0x66670000 != 0x3cb58bff
0x c020: 0x6667008b != 0x8dffffff
0x c024: 0x673ac083 != 0xb60fd61c
0x c028: 0x18010f66 != 0x0fd28513
0x c02c: 0x00b86667 != 0x0000a185
0x c030: 0x670000c2 != 0x4bb60f00
0x c034: 0x67008b66 != 0xd1b60f01
0x c038: 0x2ec08366 != 0xff64add3
0x c03c: 0x010f6667 != 0x9529ffff
0x c040: 0xb8666710 != 0xffffff58
0x c044: 0x0000c200 != 0x8804538b
0x c048: 0x008b6667 != 0x01c08310
0x c04c: 0xc0836667 != 0xff50ad83
0x c050: 0x8b666734 != 0x8301ffff
0x c054: 0xd8220f00 != 0xffff5cbd
0x c058: 0x40b86667 != 0x0c7609ff
0x c05c: 0x0f000002 != 0xff50bd81
0x c060: 0x6667e022 != 0x0101ffff
0x c064: 0x000013b8 != 0x9c770000
0x c068: 0xc0220f00 != 0xff449d8b
0x c06c: 0x666700eb != 0x8d8bffff
0x c070: 0x6667c031 != 0xffffff58
0x c074: 0x000010b8 != 0x8903e9c1
0x c078: 0x8ed88e00 != 0xffff608d
0x c07c: 0x8ee08ec0 != 0x54958bff
0x c080: 0x67d08ee8 != 0x29ffffff
0x c084: 0xc200b866 != 0x648d8bca
0x c088: 0x66670000 != 0x89ffffff
0x c08c: 0x6667008b != 0xb58b204f
0x c090: 0x6740c083 != 0xffffff58
0x c094: 0xd2e0ea66 != 0x8907e683
0x c098: 0x00080012 != 0x8d8b1c77
0x c09c: 0x0026748d != 0xffffff60
0x c0a0: 0xf631208b != 0xff5c8d03
0x c0a4: 0xed31ff31 != 0x8d89ffff
0x c0a8: 0x8b9d006a != 0xffffff6c
0x c0ac: 0xd0ff0440 != 0x8d2bd189
0x c0b0: 0x8dfdebf4 != 0xffffff68
0x c0b4: 0x000000b6 != 0xff708d01
0x c0b8: 0x27bc8d00 != 0x9589ffff
0x c0bc: 0x00000000 != 0xffffff68
0x c0c0: 0xaddeadde != 0xc7304789
0x c200: 0x0000c280 != 0x8901ea83
0x c280: 0x0000c200 != 0x08c18301
0x c284: 0x00000000 != 0x760ef983
0x c288: 0x00000000 != 0x549d89e3
0x c28c: 0x0000ffff != 0x89ffffff
0x c290: 0x00cf9b00 != 0xffff588d
0x c294: 0x0000ffff != 0x60958bff
0x c298: 0x00cf9300 != 0x23ffffff
0x c29c: 0x0000ffff != 0xffff3495
0x c2a0: 0x00cf9a00 != 0x409d8bff
0x c2a4: 0x0000ffff != 0x8dffffff
0x c2a8: 0x00cf9a00 != 0xb60fd314
0x c2ac: 0x00270000 != 0xf621eb1a
0x c2b0: 0x0000c284 != 0x850f40c3
0x c2b4: 0x203f6000 != 0x00000540
0x c2b8: 0x07ff0000 != 0xff608d8b
0x c2bc: 0x09978000 != 0x0c23ffff
0x c2c0: 0x1fea8c0c != 0x00d1a09d
0x c2c4: 0x001995b5 != 0x03e1c100
0x c2c8: 0xcfcfcfcf != 0x0104528b
0x c2cc: 0xcfcfcfcf != 0x1ab60fca
0x c2d0: 0xcfcfcfcf != 0x014ab60f
0x c2d4: 0xcfcfcfcf != 0xd3f1b60f
0x c2d8: 0xcfcfcfcf != 0xffff60ad
0x c2dc: 0xcfcfcfcf != 0x58b529ff
0x c2e0: 0xcfcfcfcf != 0xf6ffffff
0x c2e4: 0xcfcfcfcf != 0xc77410c3
0x c2e8: 0xcfcfcfcf != 0x890fe383
0x c2ec: 0xcfcfcfcf != 0xffff4c9d
0x c2f0: 0xcfcfcfcf != 0x54b58bff
0x c2f4: 0xcfcfcfcf != 0x8bffffff
0x c2f8: 0xcfcfcfcf != 0xffff588d
0x c2fc: 0xcfcfcfcf != 0x8318ebff
82 total words differ
hard booting...
Running in a KVM/QEMU virtual machine
Re: Virtual 7750 SR Available in 12.0.R4
Very nice posts Rifster!rifster wrote:Hi Everyone,
If you don't mind I wanted to share with you how I got it working on Xubuntu.
I'm a linux beginner and most of it was just following Stoffen's steps (big THANK YOU for your guides) and if there is anything that can be done simpler your feedback is appreciated.
They are a lot more informative and "how-to" then my posts.
Nice to be able to help you getting started.

[flash=]
Christoffer
Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
LinkedIN
[/flash]
Christoffer
Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
[/flash]
Re: Virtual 7750 SR Available in 12.0.R4
Yes, you download it from Alcatel Lucent CARES web where you would download TimOS as normal.elpete wrote:Is the image available on the Alcatel site or somewhere else?
Just choose the -vm- option.
[flash=]
Christoffer
Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
LinkedIN
[/flash]
Christoffer
Network System Expert Norway
Nokia SRA #265
Alcatel-Lucent SRC 3RP Certified #552
Alcatel-Lucent SRC NRS-2 Certified #1104
Huawei HCNP Routing & Switching certified
Cisco CCNP Certified
[/flash]