Hello,
I'm very new with Linux.
I try to configure Proxmox to use IP Address which is provided by my DHCP server, where I have configured it as a static IP address.
But I'm not sure that the following configuration is correct
I confused why nic0 doesn't have IP while vmbr0 have, I expect that it should be vise versa.
Physical adapter gets IP and provides it to virtual adapter?
I'm very new with Linux.
I try to configure Proxmox to use IP Address which is provided by my DHCP server, where I have configured it as a static IP address.
But I'm not sure that the following configuration is correct
Code:
auto lo
iface lo inet loopback
auto nic0
iface nic0 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-ports nic0
bridge-stp off
bridge-fd 0
iface nic1 inet dhcp
source /etc/network/interfaces.d/*
Code:
root@mox:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: nic0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master vmbr0 state UP group default qlen 1000
link/ether 58:47:ca:79:e9:3d brd ff:ff:ff:ff:ff:ff
altname enx5847ca79e93d
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 08:b4:d2:fe:43:2c brd ff:ff:ff:ff:ff:ff
altname wlx08b4d2fe432c
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 58:47:ca:79:e9:3d brd ff:ff:ff:ff:ff:ff
inet 192.168.1.10/24 brd 192.168.1.255 scope global dynamic vmbr0
valid_lft 43124sec preferred_lft 43124sec
inet6 fe80::5a47:caff:fe79:e93d/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
I confused why nic0 doesn't have IP while vmbr0 have, I expect that it should be vise versa.
Physical adapter gets IP and provides it to virtual adapter?