[Swan-dev] gdb in test suite's virtual machines

D. Hugh Redelmeier hugh at mimosa.com
Wed Feb 26 09:17:55 EET 2014


| From: Paul Wouters <paul at nohats.ca>

| The fedora gdb should tell you the debuginfo-install command to
| use. Give the VM an internet connection via "nic" and you can
| install them.

I'm a little lost.

The documentation says that internet access for west, for example, is
through nic.  And there are example instructions for hooking up nic to
the other machines:

  ifup eth3
  iptables -I POSTROUTING -t nat -o eth3 -j MASQUERADE

nic wasn't running.  It was easy to start it with virt-manager (right 
click on "nic" and select "run".

Unfortunately NIC itself doesn't seem to have internet access:

    [root at nic ~]# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    1.2.3.0         0.0.0.0         255.255.255.0   U     0      0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1
    169.254.0.0     0.0.0.0         255.255.0.0     U     1004   0        0 eth2
    169.254.0.0     0.0.0.0         255.255.0.0     U     1005   0        0 eth3
    192.0.1.0       192.1.2.45      255.255.255.0   UG    0      0        0 eth0
    192.0.2.0       192.1.2.23      255.255.255.0   UG    0      0        0 eth0
    192.1.2.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
    192.1.3.0       0.0.0.0         255.255.255.0   U     0      0        0 eth1
    192.1.4.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
    192.9.4.0       0.0.0.0         255.255.255.0   U     0      0        0 eth2
    192.168.234.0   0.0.0.0         255.255.255.0   U     0      0        0 eth3
    [root at nic ~]# 

How is that supposed to be provided?


More information about the Swan-dev mailing list