[GH-ISSUE #52] OVH network config #28

Closed
opened 2026-02-27 01:57:28 +03:00 by kerem · 4 comments
Owner

Originally created by @excitedbox on GitHub (Nov 12, 2021).
Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/52

The network config script throws an error
"ERROR: Could not detect all IPv4 varibles
IP: Netmask: 255.255.255.0 Gateway: redacted"

It does show the right ipv4 ip though. I set the partitions in the manager and had the manager execute the post install script and received no errors. I also ran the zfs script as instructed with no errors and rebooted the server.

Originally created by @excitedbox on GitHub (Nov 12, 2021). Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/52 The network config script throws an error "ERROR: Could not detect all IPv4 varibles IP: Netmask: 255.255.255.0 Gateway: redacted" It does show the right ipv4 ip though. I set the partitions in the manager and had the manager execute the post install script and received no errors. I also ran the zfs script as instructed with no errors and rebooted the server.
kerem closed this issue 2026-02-27 01:57:28 +03:00
Author
Owner

@schulmenueplaner-de commented on GitHub (Dec 15, 2021):

@excitedbox, you need to edit network-configure.sh
and hardcode your IPv4 address like this:

image

<!-- gh-comment-id:994666977 --> @schulmenueplaner-de commented on GitHub (Dec 15, 2021): @excitedbox, you need to edit network-configure.sh \ and hardcode your IPv4 address like this: ![image](https://user-images.githubusercontent.com/32564853/146172503-d09f25fa-d059-4ba5-9b0a-0925a7839551.png)
Author
Owner

@WXpiero commented on GitHub (Mar 11, 2022):

@excitedbox, you need to edit network-configure.sh and hardcode your IPv4 address like this:

image

thx bro,hardcode my ipv4 address works,but it only works on the host, after that the VMs lost the ability to connect to internet,and they don't have name resolution too.
I put VM's mac and fix_ipv4 into /etc/dhcp/hosts.public, and write dns records into /etc/resolv.conf, it won't work; not matter I choose vmbr0 or vmbr1, the VMs won't connect to internet

<!-- gh-comment-id:1065668892 --> @WXpiero commented on GitHub (Mar 11, 2022): > @excitedbox, you need to edit network-configure.sh and hardcode your IPv4 address like this: > > ![image](https://user-images.githubusercontent.com/32564853/146172503-d09f25fa-d059-4ba5-9b0a-0925a7839551.png) thx bro,hardcode my ipv4 address works,but it only works on the host, after that the VMs lost the ability to connect to internet,and they don't have name resolution too. I put VM's mac and fix_ipv4 into /etc/dhcp/hosts.public, and write dns records into /etc/resolv.conf, it won't work; not matter I choose vmbr0 or vmbr1, the VMs won't connect to internet
Author
Owner

@tracphil commented on GitHub (Apr 16, 2022):

@WXpiero same here. did you find a fix?

<!-- gh-comment-id:1100677836 --> @tracphil commented on GitHub (Apr 16, 2022): @WXpiero same here. did you find a fix?
Author
Owner

@WXpiero commented on GitHub (Apr 20, 2022):

@WXpiero same here. did you find a fix?

no bro,I had to went to that api page ,wrote down my ipv6 info and rewitte the interfaces file manually from scratch.

<!-- gh-comment-id:1104466214 --> @WXpiero commented on GitHub (Apr 20, 2022): > @WXpiero same here. did you find a fix? no bro,I had to went to that api page ,wrote down my ipv6 info and rewitte the interfaces file manually from scratch.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xshok-proxmox#28
No description provided.