>Number:         145001
>Category:       kern
>Synopsis:       jailed interface lost the ip settings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 09:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Robert Kapitany
>Release:        FreeBSD 8.0-STABLE (VIMAGE) #0 r204860M
>Organization:
Hungarian Telekom
>Environment:
FreeBSD virt.lab.t-online.private 8.0-STABLE FreeBSD 8.0-STABLE #0 r204860M: 
Tue Mar 23 17:14:39 CET 2010     
r...@bootm.lab.t-online.private:/usr/obj/usr/src/sys/VIMAGE  amd64

>Description:
When I add an previously configured network interface to a jail with vnet.
It lose the ip settings.
Is it the good and expected behavior?
>How-To-Repeat:
ifconfig pub0
pub0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,
TSO4>   
        ether 00:18:fe:7a:02:98
        inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

jail -c vnet path=/ jid=666 name=test host.hostname=test.virtlab persist

ifconfig pub0 vnet 666

jexec 666 ifconfig
lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
pub0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        
options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4>   
        ether 00:18:fe:7a:02:98
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to