pppd in VZ

svenr

Renowned Member
Dec 15, 2009
46
0
71
I´m trying to get pppd working in vz-container. I followed http://wiki.openvz.org/Ppp_in_VE but getting the following error:


pppd[457]: Couldn't create new ppp unit: Operation not permitted

Kernel ist 2.6.24-10

is ppp_in_ve implemented in 2.6.24

/etc/vz/conf# pveversion --verbose
pve-manager: 1.5-7 (pve-manager/1.5/4660)
running kernel: 2.6.24-10-pve
proxmox-ve-2.6.24: 1.5-21
pve-kernel-2.6.24-10-pve: 2.6.24-21
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2


vz-config
--snip--
NETIF="ifname=eth0,bridge=vmbr3,mac=42:A0:FE:E2:68:E2,host_ifname=veth118.0,host_mac=00:18:51:7D:08:58"
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length iptable_nat iptable_MASQUERADE"
FEATURES="nfs:on ppp:on "
DEVICES="c:108:0:rw "
CAPABILITY="NET_ADMIN:on NET_RAW:on SYS_ADMIN:on SYS_TTY_CONFIG:on "
--snap--



sven
 
just a short comment: the openvz article points out that you need 2.6.27 or the redhat kernel branch. therefore I suggest you go for the Proxmox VE 2.6.18 Kernel Branch (=stable redhat kernel branch)

I do not know if the mentioned vzctl patch is included, just try.
 
the manpage for vztctrl stated, that the feature is available. at the openvz bugzilla kernel 2.6.24 is also mentioned but nothing is said about its included or not ...


sven
 
kernel 2.6.18 ist working, but i had to change my network-configuration....

with 2.6.24 i used one networkcard for default vlan (untagged, vmbr0) and the other vlans (tagged, vmbrx). this didnt work with 2.6.18, i had to split this to two differant cards, strange thing....


but ppp-problem is solved


Sven