#StackBounty: #16.04 #networking #drivers #wireless #intel-wireless intel centrino wireless n 1030 wireless drop after reboot Ubuntu 16…

Bounty: 100

my wifi drops after some time and requires reboot to work again ( Centrino Wireless-N 1030 [Rainbow Peak])

similar question was posted by me for 14.04

intel centrino wireless n 1030 wireless drop after reboot Ubuntu 14.04

sudo lshw -C network gives

 *-network    

       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 06
       serial: 24:b6:fd:27:e1:b8
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:30 ioport:e000(size=256) memory:f1104000-f1104fff memory:f1100000-f1103fff 
 *-network

       description: Wireless interface
       product: Centrino Wireless-N 1030 [Rainbow Peak]


       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlp9s0
       version: 34
       serial: 4c:eb:42:32:c2:2e
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.13.0-45-generic firmware=18.168.6.1 ip=192.168.1.31 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:34 memory:f7e00000-f7e01fff

have edited the /etc/modpobe.d/iwlwifi.conf to add the line

options iwlwifi 11n_disable=1 iwlwifi bt_coex_active=0

didnt work

have checked /lib/firmware for the file iwlwifi-6000g2b-6

it exists .( this was from https://www.intel.in/content/www/in/en/support/articles/000005511/network-and-i-o/wireless-networking.html)

dmesg | grep iwl gives

[   14.721093] iwlwifi: unknown parameter 'iwlwifi' ignored
[   14.974997] iwlwifi 0000:09:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[   14.998377] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   14.998380] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[   14.998382] iwlwifi 0000:09:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[   14.998385] iwlwifi 0000:09:00.0: Detected Intel(R) Centrino(R) Wireless-N 1030 BGN, REV=0xB0
[   15.035360] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   16.149840] iwlwifi 0000:09:00.0 wlp9s0: renamed from wlan0
[   22.513003] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
[   22.615238] iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1

sudo iwconfig gives

lo        no wireless extensions.

wlp9s0    IEEE 802.11  ESSID:"HTC Portable Hotspot 4AEF"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 80:7A:BF:B9:8F:D5   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-38 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:120   Missed beacon:0

power management is disabled

sudo iwlist scan | egrep -i ‘ssid|cipher’ gives (refer)
Wifi keeps dropping on Dell XPS13 running Ubuntu 16.04, not sure how to use sudoedit on file

enp5s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

                    ESSID:"HTC Portable Hotspot 4AEF"
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                    ESSID:"Nokia 8"
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP

sudo service network-manager restart doesnt work

shows this after i try reconnecting

enter image description here

requires reboot required after drop

also tried the following

16.04 LTS wifi connection issues with Realtek adapter

have replaced the adapters name . since it is RTL8111/8168/8411 and adding “/” with conf file cretes problems i chose a name with out “/”

wifi drops after few hours again

i have posted the output while wifi was connected
have edited this question multiple times to add all the relevant things i did but issue still persists

my kernel version is 4.15.0-24-generic

please help

edit 2: update to kernel version 4.15.0-29-generic #31~16.04.1-Ubuntu SMP doesn’t solve the issue

edit 3 : have set the region to IN
issue persistent

edit 4 : installed wicd-client from help.ubuntu.com/community/WICD . disconnection continues and so switched back to network manager again
issue is persistent

edit 5 : took a backup and installed windows 7 for one day , wifi worked fine implying hardware is working fine

edit6 : contacted dell support in case to be sure to know if the card was ok .they ran diagnostic and assured hard ware is working fine

edit 7 : after all the efforts , i realized that there is something missing with respect to the linux kernel itself, and so i intalled r8168-dkms via synaptic packet manager and the wifi is up since 235 minutes
but again the next day drop after 30 minutes of use

edit 8 : of all the above things that i have tried edit : 7 is the most stable, how ever i am not sure of the solution as disconnection persists

edit 9 : blacklisted r8169 by following in /etc/modprobe.d/r8168-dkms.conf

# if the aliases above do not work, uncomment the following line
# to blacklist the whole r8169 module
#blacklist r8169

by uncommenting as advised to

# if the aliases above do not work, uncomment the following line
# to blacklist the whole r8169 module
blacklist r8169

disconnection persists

edit 10 r8168 in edit 9 is for ethernet and not for wifi ,
from the link https://ubuntuforums.org/showthread.php?t=2391119

i did as advised, though for 18.04 but since the kernel version was same , i gave a try , didnt work !


Get this bounty!!!

#StackBounty: #linux #networking #lxc #container LXC container network speed issue

Bounty: 50

I am running openstack on LXC container and i found inside my LXC container network is very slow but from host its very fast

HOST

[root@ostack-infra-01 ~]# time wget http://mirror.cc.columbia.edu/pub/linux/centos/7.5.1804/updates/x86_64/repodata/0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2
--2018-08-04 00:24:09--  http://mirror.cc.columbia.edu/pub/linux/centos/7.5.1804/updates/x86_64/repodata/0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2
Resolving mirror.cc.columbia.edu (mirror.cc.columbia.edu)... 128.59.59.71
Connecting to mirror.cc.columbia.edu (mirror.cc.columbia.edu)|128.59.59.71|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4515677 (4.3M) [application/x-bzip2]
Saving to: ‘0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2’

100%[===========================================================================================================================================>] 4,515,677   23.1MB/s   in 0.2s

2018-08-04 00:24:09 (23.1 MB/s) - ‘0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2’ saved [4515677/4515677]


real    0m0.209s
user    0m0.008s
sys     0m0.014s

LXC container on same host

[root@ostack-infra-01 ~]# lxc-attach -n ostack-infra-01_neutron_server_container-fbf14420
[root@ostack-infra-01-neutron-server-container-fbf14420 ~]# time wget http://mirror.cc.columbia.edu/pub/linux/centos/7.5.1804/updates/x86_64/repodata/0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2
--2018-08-04 00:24:32--  http://mirror.cc.columbia.edu/pub/linux/centos/7.5.1804/updates/x86_64/repodata/0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2
Resolving mirror.cc.columbia.edu (mirror.cc.columbia.edu)... 128.59.59.71
Connecting to mirror.cc.columbia.edu (mirror.cc.columbia.edu)|128.59.59.71|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4515677 (4.3M) [application/x-bzip2]
Saving to: ‘0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2’

100%[===========================================================================================================================================>] 4,515,677   43.4KB/s   in 1m 58s

2018-08-04 00:26:31 (37.3 KB/s) - ‘0d7e660988dcc434ec5dec72067655f9b0ef44e6164d3fb85bda2bd1b09534db-primary.sqlite.bz2’ saved [4515677/4515677]


real    1m59.121s
user    0m0.002s
sys     0m0.361s

I don’t have any fancy configuration of any limit set for network, i have other host which is working fine and max speed, what do you think wrong here

kernel version Linux ostack-infra-01 3.10.0-862.3.3.el7.x86_64 #1 SMP

CentOS 7.5


Get this bounty!!!

#StackBounty: #networking #routing #vmware-esxi #vmware-vsphere ESXi – Multiple Separate Concurrent Uplinks on vSwitch?

Bounty: 100

I currently have an ESXi server hosting a PFSense guest which is being used as an internet-facing router.

This ESXi server is set up with two vSwitches (each with an associated port group):

  1. WAN – 1 physical uplink
  2. LAN – Connected to a few other virtual machines, as well as 11 physical GigE uplinks.

Edit (to clarify):

  • The “WAN” vSwitch physical uplink connects to a modem – this works fine.
  • The “LAN” vSwitch physical “uplinks” will be connected to physical clients on the internal network.

The PFSense guest on this server has virtual NICs attached to each of the aforementioned port groups (both WAN and LAN), and successfully routes traffic between the two, albeit with one caveat: Only one of the physical uplinks on the LAN vSwitch functions at a time, so I can only connect one physical client machine at a time to the network. This is ostensibly because it is currently configured for failover.

I would like to be able to configure the LAN vSwitch so that instead of using each of the physical uplinks for failover for one link in total, it instead treats each as a separate link allowing different physical clients to be connected to each (functioning as, well, a switch) – if this is possible, how would I go about configuring this?

Thanks!


Get this bounty!!!

#StackBounty: #networking #18.04 #network-manager #internet #ethernet "Activation of network connection failed" for ethernet …

Bounty: 50

I have installed Ubuntu 18.04 on a Surface Book with dual boot, and I can’t get the ethernet connection to work. Although the wifi connects, I keep getting the “activation of network connection failed” error for the ethernet.

sudo lshw -C network gives me:

  *-network                 
       description: Wireless interface
       product: 88W8897 [AVASTAR] 802.11ac Wireless
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 00
       serial: 98:5f:d3:45:f8:58
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=mwifiex_pcie ip=192.168.1.189 latency=0 multicast=yes wireless=IEEE 802.11
       resources: irq:133 memory:b9500000-b95fffff memory:b9400000-b94fffff
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: enxc49dede69606
       serial: c4:9d:ed:e6:96:06
       size: 10Mbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=half link=yes multicast=yes port=MII speed=10Mbit/s

But I suppose this is not near enough information to investigate. Please let me know what else is useful to know in this case, and I’ll add that to the question.

PS: I saw this question, but I have all the updates installed, and I still can’t connect, so this is not a duplicate.

UPDATE:
Before turning off the computer, I turned off the cable connection in Settings. Today when I turned it on, the ethernet button is gone:
enter image description here

Running journalctl gives this: https://gist.github.com/sedulam/b37515fc90ab41a6d1c88a951baf11f6

ip ro gives this:

default via 192.168.1.254 dev wlp3s0 proto dhcp metric 600 
169.254.0.0/16 dev wlp3s0 scope link metric 1000 
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.195 metric 600

systemctl gives: https://gist.github.com/sedulam/77d905dc3ecdf379a785b0694e23ed3e

ps aux | egrep wpa|conn gives:

root      1037  0.0  0.0  45016  7504 ?        Ss   21:16   0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
pedro     3460  0.0  0.0  21536  1088 pts/0    S+   21:21   0:00 grep -E --color=auto wpa|conn

service –status-all gives: https://gist.github.com/sedulam/ae85b271a24aecdd3f04f920df2059e9


Get this bounty!!!

#StackBounty: #java #api #networking #socket #web-services Java Messenger data transmission

Bounty: 50

This is a very simple concern, could somebody take a look at a few lines of my code? I’m writing a simple Java multi-user messenger, it is structured in a desktop client with a Swing GUI, a java server based on plain sockets and a service library holding general utilities… At the moment I transmit messages through a ObjectOutputStream/ObjectInputStream with a custom Packet class…

package org.x1c1b.carrierpigeon.service.packet;

import java.io.Serializable;
import java.util.Objects;

public class Packet implements Serializable
{
    protected String source;
    protected String destination;

    protected int type;
    protected String payload;

    public Packet(String source, String destination, PacketType type, String payload)
    {
        this.source = source;
        this.destination = destination;

        this.type = type.getIdentifier();
        this.payload = payload;
    }

    public Packet(Packet packet)
    {
        this.source = packet.source;
        this.destination = packet.destination;

        this.type = packet.type;
        this.payload = packet.payload;
    }

    protected Packet(PacketBuilder builer)
    {
        this.source = builer.source;
        this.destination = builer.destination;

        this.type = builer.type;
        this.payload = builer.payload;
    }

    public String getSource()
    {
        return this.source;
    }

    public String getDestination()
    {
        return this.destination;
    }

    public PacketType getType()
    {
        return PacketType.getByIdentifier(this.type);
    }

    public String getPayload()
    {
        return this.payload;
    }

    @Override public boolean equals(Object object)
    {
        if(this == object)
        {
            return true;
        }

        if(object == null || getClass() != object.getClass())
        {
            return false;
        }

        Packet packet = (Packet) object;

        return type == packet.type && Objects.equals(source, packet.source) && Objects
                .equals(destination, packet.destination) && Objects.equals(payload, packet.payload);
    }

    @Override public int hashCode()
    {
        return Objects.hash(this.source, this.destination, this.type, this.payload);
    }
}

This is the Packet class used to transmit the message, for identifying the message purpose I uses a Enum defining different PacketType‘s…

package org.x1c1b.carrierpigeon.service.packet;

import java.util.NoSuchElementException;

public enum PacketType
{
    HANDSHAKE_REQUEST(1),
    HANDSHAKE_REPLY(2),
    HANDSHAKE_ERROR(3),
    AUTHENTICATION_REQUEST(4),
    AUTHENTICATION_REPLY(5),
    AUTHENTICATION_ERROR(6),
    CONNECTIVITY_ESTABLISHED(7),
    CONNECTIVITY_HALTED(8),
    CONNECTIVITY_STATUS(9),
    CONNECTIVITY_SETUP(10),
    CONNECTIVITY_ERROR(11),
    DATA_TRANSFER(12),
    DATA_TRANSFER_ERROR(13);

    private int identifier;

    private PacketType(int identifier)
    {
        this.identifier = identifier;
    }

    public int getIdentifier()
    {
        return this.identifier;
    }

    public static PacketType getByIdentifier(int identifier)
    {
        for(PacketType type : PacketType.values())
        {
            if(type.identifier == identifier)
            {
                return type;
            }
        }

        throw new NoSuchElementException("Identifier: " + identifier);
    }
}

Maybe for taking a look at the whole project:

I’m not that much expired in network development with java, so are there any improvements by transmission of messages? Is it common practice to use ObjectStream‘s with a custom “Protocol”/Packet to transmit data or should I use already existing protocols like HTTP instead? I tried to hold it simple without REST or huge webservers…

I will be glad about any improvements or tips for the data transmission…

EDIT

I also anticipate to write a basic API with the Remote Procedure Call pattern, here a basic example to illustrate what I mean:

public interface MessengerServiceAPI
{
    public abstract boolean login(String name);
}

Here the server-side implementation of the service API:

public class MessengerService implements MessengerServiceAPI
{
    @Override public boolean login(String name)
    {
        // Some login logic and database interaction on server-side
    }
}

Now I superior to call this server-side method with RPC through a ObjectStream:

// Method used on client-side to call remote method of service API

public Object call(String name, Object [] params) throws Exception
{
    try(Socket socket = new Socket(this.address, this.port);
            ObjectOutputStream sout = new ObjectOutputStream(socket.getOutputStream());
            ObjectInputStream sin = new ObjectInputStream(socket.getInputStream()))
    {
        sout.writeObject(name);
        sout.writeObject(params);
        sout.flush();

        Object object = sin.readObject();

        if(object instanceof Exception)
        {
            throw (Exception) object;
        }

        return object;
    }
}

// The server-side handler to handle API requests, which execute the requested action on server-side and return the return value of it

@Override public void handle(Socket socket)
{
    try (ObjectInputStream sin = new ObjectInputStream(socket.getInputStream());
                ObjectOutputStream sout = new ObjectOutputStream(socket.getOutputStream()))
    {
        Object object;
        String name = (String) sin.readObject();
        Object [] params = (Object[]) sin.readObject();

        try
        {
            Class <?> [] paramTypes = null;

            if(null != params)
            {
                types = new Class[params.length];

                for(int index = 0; index < params.length; ++index)
                {
                    paramTypes[index] = params[index].getClass();
                }
            }

            Method method = this.service.getClass().getMethod(name, paramTypes);
            object = method.invoke(this.service, params);
        }
        catch(InvocationTargetException exc)
        {
            object = exc.getTargetException();
        }
        catch(Exception exc)
        {
            object = exc;
        }

        sout.writeObject(object);
        sout.flush();
    }
    catch(Exception exc)
    {
        exc.printStackTrace();
    }
}

This is one possible implementation of such a service handling, but is it recommended to write such a basic API and service? Or is it recommended to send a string or packet instead with a identifier and the server executes the action by parsing this identifier?

Sorry because it is also in big parts software design not just code review but I’m waiting for somebody who takes a look on my code to give tips or improvements…


Get this bounty!!!

#StackBounty: #networking #mac #vpn #dns #cisco Re-order or "prioritize" DNS server over Cisco AnyConnect VPN on Mac

Bounty: 100

I have Cisco AnyConnect on my Mac (10.13.6), and the DNS resolution works properly for our internal hostnames. The output of scutil looks fine:

2015MBP:~ craig$ scutil --dns
DNS configuration

resolver #1
  search domain[0] : dns1.mycompany.com
  search domain[1] : dns2.mycompany.com
  search domain[2] : hsd1.ma.comcast.net
  nameserver[0] : 10.xx.xx.xx (<-- AN INTERNAL COMPANY IP)
  nameserver[1] : 10.xx.xx.xx (<-- AN INTERNAL COMPANY IP)
  flags    : Request A records, Request AAAA records
  reach    : 0x00000002 (Reachable)
  order    : 1

resolver #2
  domain   : local
  options  : mdns
  timeout  : 5
  flags    : Request A records, Request AAAA records
  reach    : 0x00000000 (Not Reachable)
  order    : 300000

resolver #3
  domain   : 254.169.in-addr.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records, Request AAAA records
  reach    : 0x00000000 (Not Reachable)
  order    : 300200

resolver #4
  domain   : 8.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records, Request AAAA records
  reach    : 0x00000000 (Not Reachable)
  order    : 300400

resolver #5
  domain   : 9.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records, Request AAAA records
  reach    : 0x00000000 (Not Reachable)
  order    : 300600

resolver #6
  domain   : a.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records, Request AAAA records
  reach    : 0x00000000 (Not Reachable)
  order    : 300800

resolver #7
  domain   : b.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records, Request AAAA records
  reach    : 0x00000000 (Not Reachable)
  order    : 301000

DNS configuration (for scoped queries)

resolver #1
  search domain[0] : hsd1.ma.comcast.net
  nameserver[0] : 192.168.1.1
  if_index : 5 (en0)
  flags    : Scoped, Request A records, Request AAAA records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

However, I notice that it’s using the company DNS for things that it doesn’t need to:

2015MBP:~ craig$ nslookup apple.com
Server:         10.xx.xx.xx.   (<-- SAME COMPANY IP FROM ABOVE)
Address:        10.xx.xx.xx#53

Non-authoritative answer:
Name:   apple.com
Address: 17.178.96.59
Name:   apple.com
Address: 17.142.160.59
Name:   apple.com
Address: 17.172.224.47

Is there a way to tell macOS to prioritize my ISP for hostname resolution, and only to fallback to the VPN DNS for lookups that fail the first time?


Get this bounty!!!

#StackBounty: #debian #networking #network-interface How to make wlan to always be the default route? (ip route list)

Bounty: 50

Whenever I add my 4G modem to my raspberry, it gets on top of the default routes ou ip route list, however I want everything to go through wlan, and only use the 4G modem to receive SSH connections.

I’ve found this answer on how to disable the default routes: https://serverfault.com/a/836708

however, after reboot, the 4G modem comes back to the top.

How do I make wlan0 to always be the first rule on default?


Get this bounty!!!

#StackBounty: #windows #networking #routing Windows Server 2012 – two NICs, wrong one selected

Bounty: 50

I have a server with two NICs, as follows.

  • One has IP address 192.168.0.47/24. This network has no router / gateway / etc.
  • One has IP address 172.16.92.45, and is bridged to a tap adapter for OpenVPN.

I’m trying to communicate with a device at 192.168.0.204, and failing. Wireshark confirms that attempts to ping 192.168.0.204 go via the interface 172.16.92.45, not 192.168.0.47, which surprises me. tracert confirms that the pings go to the default gateway, 172.16.92.12, never to be seen again.

ipconfig says:

Windows IP Configuration


Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix  . : 

Ethernet adapter Embedded LOM 1 Port 2:

Connection-specific DNS Suffix  . : 
Link-local IPv6 Address . . . . . : fe80::b40f:8c41:a781:a89b%12
IPv4 Address. . . . . . . . . . . : 192.168.0.47
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 

Ethernet adapter Network Bridge:

Connection-specific DNS Suffix  . : 
Link-local IPv6 Address . . . . . : fe80::4d2:2673:7ff4:8676%18
IPv4 Address. . . . . . . . . . . : 172.16.92.45
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 172.16.92.12

Tunnel adapter isatap.{B63DCFB1-4179-45E6-9268-299D4526831A}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix  . : 

Tunnel adapter isatap.{78520E8A-472A-4BBD-9440-7BF50D172859}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix  . : 

The routing table is:

===========================================================================
Interface List
 19...00 ff 4d 58 89 8e ......TAP-Windows Adapter V9 #2
 12...98 f2 b3 8f bb e5 ......HPE Ethernet 1Gb 2-port 332i Adapter #2
 18...00 ff f8 2b 19 b1 ......Microsoft Network Adapter Multiplexor Driver
  1...........................Software Loopback Interface 1
 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     172.16.92.12     172.16.92.45    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
       172.16.0.0      255.255.0.0         On-link      172.16.92.45    266
     172.16.92.45  255.255.255.255         On-link      172.16.92.45    266
   172.16.255.255  255.255.255.255         On-link      172.16.92.45    266
      192.168.0.0    255.255.255.0         On-link      192.168.0.47    276
     192.168.0.47  255.255.255.255         On-link      192.168.0.47    276
    192.168.0.255  255.255.255.255         On-link      192.168.0.47    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link      172.16.92.45    266
        224.0.0.0        240.0.0.0         On-link      192.168.0.47    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link      172.16.92.45    266
  255.255.255.255  255.255.255.255         On-link      192.168.0.47    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0     172.16.92.12  Default 
          0.0.0.0          0.0.0.0     172.16.92.12  Default 
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    306 ::1/128                  On-link
 18    266 fe80::/64                On-link
 12    276 fe80::/64                On-link
 18    266 fe80::4d2:2673:7ff4:8676/128
                                    On-link
 12    276 fe80::b40f:8c41:a781:a89b/128
                                    On-link
  1    306 ff00::/8                 On-link
 18    266 ff00::/8                 On-link
 12    276 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

I would’ve thought the route to 192.168.0.0 / 255.255.255.0 having interface 192.168.0.47 would’ve meant 192.168.0.47 got used to ping 192.168.0.204, but apparently not.

If it makes any difference, the two NICs actually connect to the same physical LAN (different switches, but connected). I’m using the two IP address ranges because I’m working remotely, and trying to communicate with a device on the LAN that has its factory default IP (192.168.0.200). The plan was to change the IP address of the secondary port to 192.168.0.47 (done), access and configure the device at 192.168.0.200 (failing), including change its IP address to something in the 172.16.0.0 network. The approach has worked a treat with other devices in the past on this same LAN. But not today.

Can anyone shed some light on this?


Get this bounty!!!

#StackBounty: #networking #netplan Netplan – How to describe veth peer links?

Bounty: 50

I want to peer connect between two bridges in my netplan configuration.

Under iproute2 the commands would be:

ip link add dev vethb1 type veth peer name vethb2       
brctl addif br1 vethb1
brctl addif br2 vethb2

I’m porting from OpenVSwitch, so it’s possible I’m thinking about this the wrong way.

Unfortunately, the netplan documentation doesn’t seem to cover all device types, particularly veth. Although it does mention veth in terms of matching, so there’s some part of netplan that must know what it means.

I’ve tried doing a vlan with no id but it expects an id.

Creating an ethernet doesn’t seem to accept a type or peer attribute.

What does a veth peer link look like in a netplan config?


Get this bounty!!!