Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Linux operating system (OS), a U... <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Mike Powell | Alexey Vissarionov | running linux vm on a lin |
July 14, 2018 8:20 PM * |
|||
> MP> I have a few questions about running a linux distro in a vm on a > MP> linux box. I have read up about how to get Ethernet working over a > MP> bridge, > Hopefully those manuals didn't contain the brctl command... > `man ip` (or `man ip-link`) will guide you in the right direction. Well, I did try brctl and got a little farther than with ip. I tried the steps for ip listed in this website: https://alberand.github.io/host-only-networki... Got all the way to this one before I got an error: sudo dnsmasq --interface=br0 --bind-interfaces --dhcp-range=192.168.0.3,192.168. dnsmasq: failed to create listening socket for 192.168.0.17: Cannot assign reque However I think the issue might be right before that: sudo ip link set dev br0 up sudo ip link set dev tap0 up These did not return any eror messages, but when I run ip addr, it tells me that both br0 and tap0 are "state DOWN"? I think they should be UP, right?? FYI, here is what ip addr returns: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul 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 valid_lft forever preferred_lft forever 2: enp1s0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast s link/ether 00:07:32:4f:05:91 brd ff:ff:ff:ff:ff:ff inet 192.168.0.11/24 brd 192.168.0.255 scope global dynamic enp1s0 valid_lft 82309sec preferred_lft 82309sec inet6 fe80::7534:df0a:13f:4256/64 scope link valid_lft forever preferred_lft forever 3: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br link/ether 06:fc:5e:fd:6d:bb brd ff:ff:ff:ff:ff:ff 4: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN gr link/ether 06:fc:5e:fd:6d:bb brd ff:ff:ff:ff:ff:ff inet 192.168.0.0/24 brd 192.168.0.255 scope global br0 valid_lft forever preferred_lft forever inet 192.168.0.17/24 brd 192.168.0.255 scope global secondary br0 valid_lft forever preferred_lft forever inet 192.168.0.11/24 brd 192.168.0.255 scope global secondary br0 valid_lft forever preferred_lft forever For good measure, here is what my interfaces file looks like: /etc/network/interfaces auto br0 iface br0 inet dhcp pre-up ip tuntap add dev tap0 mode tap user bbs pre-up ip link set tap0 up bridge_ports all tap0 bridge_stp off bridge_maxwait 0 bridge_fd 0 post-down ip link set tap0 down post-down ip tuntap del dev tap0 mode tap FYI, this is all on the HOST... I have yet to get to setting up the vm guest. I did a lot of searches on the error message I got, and variations, and did not find anything that gave me a hint as to what the issue might be. Mike --- * SLMR 2.1a * Come in here, dear boy, have a cigar, you're gonna go far --- GTMail 1.26 * Origin: moe's * 1-502-875-8938 * moetiki.ddns.net:27 (1:2320/107.0) |
||||||
|
Previous Message | Next Message | Back to Linux operating system (OS), a U... <-- <--- | Return to Home Page |
Execution Time: 0.0841 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |