All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Ofsthun <sofsthun@virtualiron.com>
To: sd@enprosper.com
Cc: kvm@vger.kernel.org
Subject: Re: problem with pxe boot off private bridge
Date: Thu, 16 Oct 2008 11:13:33 -0400	[thread overview]
Message-ID: <48F75A1D.3030604@virtualiron.com> (raw)
In-Reply-To: <1224120382.v2.mailanyonewebmail-235085@fuse113>

Stephen Dennis wrote:
> Hello
> 
> My aim is to have a VM with 2 network interfaces, one bridged to the outside
> world and the other bridged on a private network.  From the private interface
> this VM runs DHCP and PXE services to start and install VM's which have one
> network interface tapped on the private bridge.
> 
> All machines are centos or ubuntu guests.
> 
> I confirm that simply starting a linux guest that used the private bridge to
> get a dhcp address works fine.
> 
> However, using a pxe capable boot rom, dhcp fails.  I have confirmed the
> dhcp request and offer appear on both tap interfaces and the intervening
> bridge interface.

Make sure no checksum offload optimizations are causing trouble.  We had a similar problem on Xen where checksums were only generated when packets left through the real NIC.  Check the PXE server setup, to make sure the DHCP/PXE packets are being checksummed properly on the private network.

Steve

> I also confirm that the pxe capable boot rom works if its using the bridge
> to the external network.
> 
> I have tried all the pxe boot roms available with the exact same result.
> 
> This could be a networking configuration problem or perhaps a bug somewhere
> in the nic emulation or boot rom.
> 
> Any ideas for further diagnostics or solutions appreciated.
> 
> More config information below.
> 
> Thanks
> Stephen
> 
> kvm -no-reboot -m 1000 -boot c  \
>         -hda ux-head.img \
>         -net nic,vlan=0,macaddr=DE:AD:BE:EF:7d:e4 -net
> tap,vlan=0,ifname=tap0 \
>         -net nic,vlan=1,macaddr=DE:AD:BE:EF:7d:e5 -net tap,vlan=1,ifname=tap1
> 
> kvm -no-reboot -m 1000 -boot n  \
>         -hda ux-node-1.img \
>         -net nic,vlan=1,macaddr=DE:AD:BE:EF:7d:e6,model=ne2k_pci \
>         -net tap,vlan=1,ifname=tap2
> 
> QEMU PC emulator version 0.9.1 (kvm-62), Copyright (c) 2003-2008 Fabrice
> Bellard
> On Ubuntu 8.04
> Linux x2 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64
> GNU/Linux
> 
> br0       Link encap:Ethernet  HWaddr 00:22:15:1e:7d:e4
>           inet addr:172.16.198.251  Bcast:172.16.198.255  Mask:255.255.255.0
>           inet6 addr: fe80::222:15ff:fe1e:7de4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:61406 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:373150 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:3677008 (3.5 MB)  TX bytes:536494463 (511.6 MB)
> 
> br1       Link encap:Ethernet  HWaddr 00:ff:1e:0d:da:5d
>           inet6 addr: fe80::2ff:1eff:fe0d:da5d/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:110 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:27599 (26.9 KB)  TX bytes:119935 (117.1 KB)
> 
> br1:avahi Link encap:Ethernet  HWaddr 00:ff:1e:0d:da:5d
>           inet addr:169.254.6.156  Bcast:169.254.255.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> 
> eth0      Link encap:Ethernet  HWaddr 00:22:15:1e:7d:e4
>           inet6 addr: fe80::222:15ff:fe1e:7de4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:61512 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:373396 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:4803323 (4.5 MB)  TX bytes:538013422 (513.0 MB)
>           Interrupt:16
> 
> eth1      Link encap:Ethernet  HWaddr 00:22:15:1e:7e:d4
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>           Interrupt:17
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:39299 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:39299 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:512377716 (488.6 MB)  TX bytes:512377716 (488.6 MB)
> 
> tap0      Link encap:Ethernet  HWaddr 00:ff:82:b4:0a:dc
>           inet6 addr: fe80::2ff:82ff:feb4:adc/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:249 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:223 errors:0 dropped:289 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:23823 (23.2 KB)  TX bytes:33914 (33.1 KB)
> 
> tap1      Link encap:Ethernet  HWaddr 00:ff:77:d3:db:4b
>           inet6 addr: fe80::2ff:77ff:fed3:db4b/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:90 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:80 errors:0 dropped:436 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:17339 (16.9 KB)  TX bytes:23032 (22.4 KB)
> 
> tap2      Link encap:Ethernet  HWaddr 00:ff:96:5e:22:0f
>           inet6 addr: fe80::2ff:96ff:fe5e:220f/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:20 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:88 errors:0 dropped:498 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:11800 (11.5 KB)  TX bytes:18657 (18.2 KB)
> 
> tap3      Link encap:Ethernet  HWaddr 00:ff:1e:0d:da:5d
>           inet6 addr: fe80::2ff:1eff:fe0d:da5d/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:606 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> tap4      Link encap:Ethernet  HWaddr 00:ff:6b:29:40:c8
>           inet6 addr: fe80::2ff:6bff:fe29:40c8/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:606 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> tap5      Link encap:Ethernet  HWaddr 00:ff:83:d9:3d:11
>           inet6 addr: fe80::2ff:83ff:fed9:3d11/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:606 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> vnet0     Link encap:Ethernet  HWaddr ce:89:a9:0a:f1:c3
>           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>           inet6 addr: fe80::cc89:a9ff:fe0a:f1c3/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:7454 (7.2 KB)
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2008-10-16 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  1:26 problem with pxe boot off private bridge Stephen Dennis
2008-10-16 15:13 ` Steve Ofsthun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48F75A1D.3030604@virtualiron.com \
    --to=sofsthun@virtualiron.com \
    --cc=kvm@vger.kernel.org \
    --cc=sd@enprosper.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.