-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
VLOOP VNF can be integrated with VSPERF after following changes are applied to the image. This description is just an unofficial draft. Final changes will be reviewed and acknowledged by image author (Gene Snider).
- Edit /etc/modules and change l2fwd module parameters to bridge eth0 and eth1
l2fwd net1=eth0 net2=eth1
- Edit /etc/network/interfaces and
- remove section with eth0 dhcp configuration
- configure eth0 and eth1 with dummy IPs to have them up after VM start up
auto eth0 iface eth0 inet static address 10.10.0.1 netmask 255.255.255.0 auto eth1 iface eth1 inet static address 10.10.1.1 netmask 255.255.255.0
- modify kernel command line options to log output to ttyS0; I’ve modified /boot/grub/menu.lst directly (it should be done properly) to add additional kernel option "console=ttyS0"
- start getty at ttyS0 in Ubuntu with upstart:
# cp /etc/init/tty1.conf /etc/init/ttyS0.conf
- edit it and modify last line to
exec /sbin/getty -L 115200 ttyS0 vt102
# start ttyS0