787 reputation
36
bio website
location
age
visits member for 3 years, 2 months
seen Jul 24 at 10:10

Sep
27
awarded  Yearling
May
20
comment Network configuration for linux server
ifconfig is deprecated. You can use ip monitor link to monitor link states: If you unplug/replug a cable, you will get output of which interface was unplugged/plugged (watch out for NO-CARRIER). Alternatively, cat /sys/class/net/eth0/carrier will tell you if a cable is plugged.
Apr
28
comment localhost answering wrong ip
ifconfig is deprecated. Please give us the output of ip addr instead. And in your case, the output of ip route get 10.1.2.3 might be important. Consider also giving the output of ip route list table all.
Apr
23
comment Ubuntu 14.04 Ipv6 multicast
@José: Edited the answer.
Apr
23
revised Ubuntu 14.04 Ipv6 multicast
added kernel patch for why 12.04 didn't have the restriction.
Apr
22
answered Ubuntu 14.04 Ipv6 multicast
Apr
5
answered use do,while to make loop for each network adapter
Apr
4
comment Bind outgoing SOCKS-server traffic to a specific IP
Yes, but it wouldn't change anything. getaddrinfo only returns parameter to use when creating your socket, and it does not return a bind parameter. What you need to intercept is the socket() or connect() call, to bind the socket to what you want, or to set a firewall mark so that the kernel can pick the preferred source address that you want.
Apr
3
answered How to configure linux routing/filtering to send packets out one interface, over a bridge and into another interface on the same box
Apr
3
comment How to configure linux routing/filtering to send packets out one interface, over a bridge and into another interface on the same box
When receiving, the kernel will drop packets if their source address matches one of its own interfaces. You need to unset the accept_local sysctl (or something like that).
Apr
3
comment How to configure linux routing/filtering to send packets out one interface, over a bridge and into another interface on the same box
Seems like a duplicate of serverfault.com/questions/432949/…
Apr
2
answered Bind outgoing SOCKS-server traffic to a specific IP
Mar
25
answered iptables forwarding through virtual interfaces
Mar
25
comment iptables forwarding through virtual interfaces
Interfaces aliases are deprecated on Linux, stop using them.
Mar
22
answered Routing default gateway for 2nd vlan over a tunnel (linux/tinc)
Mar
22
comment Routing default gateway for 2nd vlan over a tunnel (linux/tinc)
Is this thread going to be migrated (in this case i can post a solution here) or should i wait for a similar post in serverfault?
Feb
18
comment TCP and retransmission
Depends on B's reordering buffer size and the current window size.
Dec
8
comment How do I find the path of socket?
Not all Unix Socket have a path. If the sockets are created by socketpair(), they are not associated with a path.
Nov
7
comment What are main differences between Linux and FreeBSD system from sysadmin point of view?
On the networking side, if you do multihoming, BSD uses a Strong End System model, while Linux uses a Weak End System model. Read RFC1122 for what it means, or en.wikipedia.org/wiki/Host_model
Nov
6
revised IP alias lost when changing main IP
EXPAND.