Tag Info

Hot answers tagged

4

Technically they should both use the same way of resolving addresses, however ping is likely not going to try resolving IPv6 addresses at all (AAAA records) and query directly A records as it's an IPv4-only tool (ping6 does IPv6 ICMP requests). A configuration issue I've seen in some load-balancing DNS servers backed by named (the same should apply no mater ...


3

They are not two approaches. In one case you use bridge-utils directly (which is a temporary configuration change) in the other case (permanent configuration change) you use them indirectly via the network scripts which parse /etc/network/interfaces.


2

When you read from a socket (or pipe or other asynchronous source), you can choose what happens if there's no data immediately available. Either you can have the read wait until some data arrives (blocking mode), or you can have it return immediately with an error (nonblocking mode). The error it returns in the second case is EAGAIN. So the EAGAIN error ...


1

1: You should't use anonymous ports (a.k.a. ephemeral ports) to implement a UDP or TCP service. By default, these ports are in the range 32768 - 65535. # ndd /dev/tcp tcp_smallest_anon_port 32768 # ndd /dev/tcp tcp_largest_anon_port 65535 2: Unless your service is running as root or has the required RBAC privilege, you shouldn't use a privilege port, by ...


1

As far as I'm aware of sed cannot do calculations on numbers, I would use awk $ awk -F'.' '$1~"IPADDR"{$NF++;OFS="."}1' file DEVICE=eth0:1 NETMASK=255.255.255.0 IPADDR=10.2.7.149 BOOTPROTO=none ONBOOT=yes DNS1=10.2.53.150 PEERDNS=yes DNS2=10.2.53.250 GATEWAY=10.2.7.1 TYPE=Ethernet USERCTL=no IPV6INIT=no Include this into a loop of files to be changed. ...


1

I don't know if I've understood you correctly. Does this do what you want? Bash: [root@domain]:test # IP=120 [root@domain]:test # for i in {1..50}; do > echo "IP=10.11.11.$IP > NETMASK=255.255.255.0 > DEVICE=eth0:1 > ONBOOT=yes > DNS1=10.2.53.150 > PEERDNS=yes > DNS2=10.2.53.250 > GATEWAY=10.2.7.1 > TYPE=Ethernet > USERCTL=no ...


1

NAT (Network Address Translation) has nothing common with the goals you described. Correspondence between IP and MAC addresses is kept using mechanism named ARP (Address Resolution Protocol) for IP version 4 and Neighbour Discovery for IP version 6. In rare circumstances, you can maintain the neighbour list manually, but it's rarely needed. For assigning IP ...


1

Per your comment: @Marki - computers A and B are on the internet. When they go to someserver.com, they always do so from my Linux box (e.g. specific routing). A and B cooperate. On occasion, we want computer B to go to someserver.com without someserver being aware requests are coming from a different machine. Am I missing something here? If ...


1

For general access, you'll have to use MASQUARADE / SNAT (depending if your IP address on C is dynamic or static). So let's say current situation is your computer A has static IP address a.a.a.a, and your computer B has static IP address b.b.b.b. Both have default gateway to computer C. And Someserver.com has static IP address r.r.r.r and secret port is ...


1

You're lacking the APN in the --wds-start-network option. You wouldn't need it if you were in a CDMA/EVDO network, but it is (usually) required an explicit one in GSM/UMTS/LTE. Once QMI WDS Start Network returns with no error, just try to run dhclient in the WWAN interface.


1

https://www.kernel.org/doc/Documentation/networking/bonding.txt fail_over_mac Specifies whether active-backup mode should set all slaves to the same MAC address at enslavement (the traditional behavior), or, when enabled, perform special handling of the bond's MAC address in accordance with the selected policy. Possible values are: none or 0 This ...



Only top voted, non community-wiki answers of a minimum length are eligible