Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 months ago.
Improve this question
I was wondering is it possible to create a veth interface and connect it directly to physical interface of NIC? I see most of the online solutions using bridges, however I am curious if it would be possible to bypass them for simple connection.
These are the some commands I tried to achieve this, but received error:
sudo ip link add veth1 type veth
sudo ip link set veth1 master ens3f0np0
(ens3f0np0 being physical interface)
Error I received after second command was: RTNETLINK answers: Operation not supported
It seems that MACVLAN would be solution needed for this scenario.
Following is a helpful link:
Red Hat MACVLAN explanation
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
here is my question:
I create vlan device eth0.10 and veth-pair(if_in and if_out) on Centos ,how to connetc eth0.10 to if_in ??
ip link add link eth0 name eth0.10 type vlan protocol 802.1Q id 100
ip link add name if_in type veth peer name if_out
I am not very understanding linux virtual network.Is there any way can solve this problem ?
I really appreciate it
You can use a virtual switch or bridge as described in this page.
Although the page used network namespace, the basic idea is still adding eth0.10 and if_in into the same vswitch/bridge and let the openvswitch/linux bridge do the work.
one example using linux bridge:
# create the switch
BRIDGE=br-test
brctl addbr $BRIDGE
brctl stp $BRIDGE off
ip link set dev $BRIDGE up
brctl addif br-test eth0.10
brctl addif br-test if_in
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
We are running WDS on server2012 and it's doing fine with older machines. But we bought new stack of HP's with Intel i217-lm NIC, it is using Boot agent GE v.1.5.50.
When we are trying to boot it gets ip via dhcp, but ends with error:
PXE-E55: ProxyDHCP service did not reply to request on port 4011
I tried to change dhcp scope options by MS recommendations:
Option 60= PXEClient
Option 66= WDS server name or IP address
Option 67= Boot file name
Any suggestions
To see if the DHCP process is where the problem lies, one test to try is running Wireshark on the DHCP server to see if the packet was received by the server, and if the server sent the packet back to the i217 adapter.
If the packet reached the DHCP server but didn't get sent back maybe it is a firewall issue. I would also check the IP address leases and make sure everything looks error-free (ie no duplicate IPs, bad addresses).
Also if you want to verify that there are not known PXE issues with the i217 adapters, or if there any quirks, you can ask the Wired Ethernet blog at communities.intel.com about the issue you're seeing. They usually have someone who can help from Intel on there.
Workaround was booting from network in UEFI mode. There is limitations regarding new Intel's boot agent
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
Scenario: Main Linux Server is Connected to Local Switch Gateway. From Gateway to the network.
Now i can able to get the IP of the Remote Clients/Users who logged into the Server.
Linux Command : *"who -u" (gives me the IP Address of the users IP Address).*
For getting the MAC Address of the same user. I tried the arp -a command, It gave the switch MAC-Address only. I cant able to get the Remote Clients/User MAC Address.
Linux Command : "arp -a" (gives me the MAC Address of the Switch).
How to the MAC Address of the Remote Clients Machines ?
Note : My Client Machines can run on any OS (Windows/Linux/Solaris).
MAC addresses doesn't get routed, so the IP address would have to be of a host on your network. You will have to ping the IP address first and then use arp -a; like
ping <Remote_IP_Address>
arp -a <Remote_IP_Address>
See this related posts here
is-there-a-way-to-find-the-mac-address-of-a-remote-machine-i-have-connected-to-w
how-to-find-the-mac-address-of-a-remote-computer
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I want to configure my lan interface of the router with 2 IP address.
My router has OpenWRT as firmware
How to edit my openwrt config file inorder to have 2 ip address on the same lan interface?
ifconfig is a quite deprecated tool.
Today we have iproute2 suite which, for many reasons, is much better than ifconfig&co.
For example with iproute2 you don't have to use the "trick" of a virtual interface to have more the one ip address on the same physical interface:
ip addr add IP dev eth0
As you have tagged "linux" in your question, I guess OpenWRT is Linux based.
On Linux, you can do aliases to your eth0 interface. For example, to add an IP to an existing eth0 interface which has already one configured IP, you can do something like:
# ifconfig eth0:1 newIP ... rest of parameters ... (from root)
It would help if you add a sample of your configuration file to the question.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
My Centos VirtualBox currently has no network connection and (as far as I can tell) no IPv4 address.
The GUI Network Connections preference box lists a single configuration, which I manually renamed from "barret" to "eth1" thinking that could solve some problems. The eth1 configuration has an IPv4 address and IPV6s setting on "Ignore". The Connect automatically box is checked. In the list of configurations, under "Last Used", it says "6 days ago." There's no apparent way to instruct it to start using eth1 now.
In terminal, if I run the command ifconfig by itself, this is the full output.
Sorry it's a picture, I seem to have lost the shared clipboard feature.
You shouldn't be using ifconfig anymore for multiple reasons (unmaintained, known issues, superseded by superior tools, etc.). I think it's rather likely to be an ifconfig issue.
See also:
Deprecated Linux networking commands and their replacements
iproute2: Life after ifconfig
ifconfig sucks