The ip tag has no wiki summary.
1
vote
1answer
435 views
Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
I have a GPS localizer (TK102). I've set it up to send responses over GPRS to particular IP and over particular port. I was told that, it uses UDP.
It seems that something is being sent (paid ...
3
votes
1answer
234 views
Kickstart: one network card with DHCP, one with static IP?
I am using Kickstart to automate a CentOS install. I wanted one of the interfaces to have static IP so I wrote -
network --onboot yes --bootproto static \
-ip="intended IP" -netmask="intended ...
1
vote
1answer
201 views
How to use traceroute command in unix
how to determine if the server is slow or not with traceroute unix command .
Here is the traceroute Out put of a host IP .
traceroute 188.165.247.43
traceroute to 188.165.247.43 (188.165.247.43), ...
2
votes
1answer
601 views
u-boot disable DHCP requests with setenv
I am trying to disable the DHCP requests after the Kernel was loaded. Using freescale imx25 dev-board in standard config. In u-boot, I find two lines ip=dhcp:
MX25 U-Boot > pri
bootdelay=3
...
6
votes
1answer
298 views
Load Balancer Solution with linux
I need a suggestion to realize a proper solution to this problem:
As you can see in the image above, I have 2 application servers that need to talk with and external third party provider over the ...
2
votes
0answers
180 views
How do I route a spare network interface through an SSH tunnel?
I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
1
vote
3answers
266 views
Books/Resources which explain TCP/IP kernel implementation [closed]
I only know about:
1) Internetworking with TCP/IP: Vol.II, Design, Implementation, and Internals
2) TCP/IP Illustrated, Vol. 2: The Implementation
but these are quite dated. I am particularly ...
1
vote
1answer
102 views
Monitoring interface changes with udev, especially if a route is set
Is there a way to monitor interface up/downs, especially to check if a route is setup or removed, with udev?
1
vote
2answers
4k views
Changing the IP Address in Solaris 11
I am trying to change the IP address in Solaris, but am failing to do so.
The IP address needs to be a fixed number, like 10.0.11.10
I have tried changing the IP address in /etc/hosts which I ...
4
votes
3answers
4k views
How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
How can I find out if my IP address is DHCP, Fixed or Dynamic?
I need to tell my network administrator what the IP address is, that my Virtual Machine is using. I know the numbers, but I don't know ...
1
vote
2answers
212 views
How to allow mysql remote connections via particular interface
I have a 10.237.49.251 IP on eth0 and another IP on another interface
How do I enable remote mysql calls on eth0 device?
2
votes
3answers
373 views
How can I restart a network interface?
How can I restart a network interface? I have a vm that doesn't update its IP address correctly when switching between home and work. The vm runs Ubuntu server and uses a bridged network adapter.
1
vote
4answers
2k views
IP of localhost
How does a Linux instance determine its IP address?
That is, not the 127.0.0.1.
Is this stored in file or does ifconfig somehow calculate it at every invocation?
I managed to solve it just to show ...
1
vote
1answer
603 views
Changing DD-WRT's default IP address
I have Buffalo WZR-HP-G300NH wireless router and I updated the firmware to DD-WRT (the newest build). The rest of my home network is in IP scope of 192.168.0.100-200 and this router has it's own. The ...
4
votes
2answers
632 views
How to know if a network interface is tap, tun, bridge or physical?
As far as i know, there are 4 main types of network interfaces in linux: tun, tap, bridge and physical.
When i'm doing sys admin on machines running KVM, i usually come accross tap, bridge and ...
4
votes
1answer
293 views
Control source address for whois queries
is it possible to execute the command "whois" and choose the outgoing ip for the query?
I have mounted several IP's on my network interface "/etc/network/interfaces" for ssl porpuses, but would be ...
15
votes
1answer
2k views
Why doesn't Linux use the IANA Ephemeral port range?
According to Wikipedia
The Internet Assigned Numbers Authority (IANA) suggests the range 49152 to 65535 for dynamic or private ports. Many Linux kernels use the port range 32768 to 61000.
Even ...
2
votes
1answer
172 views
Constantly pinging a server
I am not sure if this is exactly the right place for this question, but there is no networking stack exchange.
I want to ping a server a bunch of times (eg.10,000+) to gather information on the ...
0
votes
1answer
51 views
Do IPTABLE rules apply to other devices on a network?
I have an embedded device that listens to a specific port to be programmed by vendor specific software. If I have a network that consists of a small linux computer and this industrial device would ...
-1
votes
1answer
123 views
need to my server's ip changes when it needs to connect port 'x' on ip 'y'
simple question: "need a way to proxify a port"
I have a linux server and have a proxy server on another machine.
My linux server needs connect to port 'x' on ip 'y'
Is it possible to create ...
3
votes
3answers
2k views
Find out network traffic per IP
We have one central server which functions as an internet gateway. This server is connected to the internet, and using iptables we forward traffic and share the internet connection among all computers ...
0
votes
2answers
137 views
dig returns different IP address when dropping the “www.” from domain name
I have performed a dig on my domain name used on my site and I seem to be getting different results when I drop the "www." from the lookup. I am concerned this is causing me issues within my ...
3
votes
1answer
223 views
Route incoming network requests for a given port to different applications
I have an application that listens for connections on a port, but I occasionally take it down for updates and the like. I'd like a way to configure the system such that if that program is running, ...
3
votes
2answers
203 views
Ethernet Sniffing Embeded Device
I recently dug out some prototyping equipment from the trash and I want out figure out what the heck it is. It has a port labelled 'Ethernet' and when I plug it into a router the lights flash like its ...
1
vote
2answers
355 views
Adding an ip to a routing table
Is there any way I can add an ip to an interface , but interface route gets created on a routing table other than 'main' routing table in linux?
For ex: If I add an IP 10.11.20.10/24 to eth0, it ...
3
votes
1answer
140 views
is it possible to send the remote connector ip via netcat?
Actually I want to make something like ifconfig.me functionality but only for my internal network. I see it the way smth on server listens some port and send ip of connected remote machine.
Seems nc ...
1
vote
2answers
3k views
Configure a bridged Ethernet adapter in a VirtualBox guest running Scientific Linux
I installed Scientific Linux 6.2 x86 in VirtualBox on Windows 7 x64.
The adapter is
Adapter 1: Paravirtualized Network (Bridged adapter, Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller)
...
0
votes
1answer
2k views
Centos 6.2 static IP: only getting IPV6 address and need IPV4
I installed a Centos 6.2 min install. I have edited /etc/sysconfig/network-scripts and I have ifcfg-eth0,eth1
I have tried to setup static IPs but I only get IPV6 address back on both adapters and ...
4
votes
3answers
686 views
How can I get the netmask from an IP address?
How do I get a netmask from the IP address? Is there a command to get it?
2
votes
1answer
339 views
Routing private network to internet via 2 gateways
I have the current set up for an embedded environment:
Embedded Target (192.168.0.200) -----> Virtual Machine (VMWare) (2 NIC's - 192.168.0.2 (Target Port) and 192.168.49.69 (NAT Port to host)) ...
1
vote
0answers
257 views
Usb tethering with linux and htc desire s other than rndis_host
I want to share the connection of my htc desire s with linux and I'm doing it but if it is possibile I'd like to avoid using the rndis_host module. The tethering can be configured as "windows" or "mac ...
1
vote
1answer
122 views
IPv6 NDP timer problem
Need to change Fedora Linux's IPv6 stack for NDP DAD timer changes.
How to locate the Fedora's IPv6 and IPv4 stack in Fedora distribution dvd/site so that, we can recompile and generate new stack ?
7
votes
4answers
5k views
How to find the IP address of a KVM Virtual Machine, that I can SSH into it?
I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
3
votes
2answers
937 views
How can I block a range of IP addresses with an Amazon EC2 instance?
I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
1
vote
0answers
270 views
AIX multihomed multicast
On my AIX machine if I run netstat -ia I get:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0
...
2
votes
0answers
107 views
How to fairly share bandwidth between IPs with tc?
I have a linux router (d-link 320-nru) with tc installed.
I have some users' computers to fairly share bandwidth between them.
Also there is such complication as inconstant uplink bandwidth.
How can ...
2
votes
1answer
84 views
Gentoo on VM setting IP Manually
I installed Gentoo on Virtualbox with the minimal image. This is the first time I am running gentoo. I need to do
ifconfig eth0 192.168.0.10
route add default gw 192.168.0.1
everytime it boots on ...
3
votes
6answers
410 views
Find my computer on a LAN network
Let's say that I have a computer plugged in to a local network using a dhcp connection, so it will get a different IP every time. Is there a way to find this computer (so the IP) from a different ...
4
votes
3answers
7k views
Why are my two virtual machines getting the same IP address?
I have two virtual machines both running on a Linux host (Fedora 16). I set both adapters as attached to NAT. When I boot them up they both have their default gateway set to 10.0.2.2. They also ...
2
votes
1answer
3k views
tcpdump: “packets captured” vs “packets received by filter”
We have a script which calls
tcpdump -v src host <IP address> and port <port number> >>out.txt 2>>err.txt -w capture.cap
on multiple IP-s while the other parts of the script ...
1
vote
2answers
3k views
How can I get the address of my local machine?
I'm on a macbook running Lion. In Terminal I'm connected to my schools server with ssh. I navigated to a folder on the server and have a file I want to copy to my local machine, but I don't know what ...
4
votes
2answers
786 views
How to build a gateway from my Linux OS
I want to configure my Linux so that it will be used as a network router (gateway). Can anybody give me some hints on this? (links are welcome!)
Thanks.
2
votes
1answer
4k views
Static route in Centos 6
Here is my route -n output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 ...
4
votes
1answer
187 views
Inserting a nat solution into a network while it's not the gateway
I have tried this a few different ways. Currently trying with pf on freebsd 8.2
I am trying to insert a nat solution into an existing network that will redirect traffic from an outside ip address to ...
2
votes
1answer
254 views
Should OpenVPN point to point tunnels be on different ports?
The OpenVPN cookbook shows an example for site-to-site VPN (3 sites). They configured each tunnel on a unique port:
site A to site B: 1194
site A to site C: 1195
site B to site C: 1196
The author ...
3
votes
2answers
639 views
IP rule for IPv6
When I try to add an IP rule for IPv6 on my Linux system, it errors out:
$ ip -6 rule add fwmark 0xfab lookup 0xf
RTNETLINK answers: Address family not supported by protocol
I checked out the IP ...
1
vote
4answers
1k views
script to scan ip range and return results in a certain format
This script scans IP's and returns a status of Up or Down. How can I alter it so it doesn't scan everything twice? As it sits it scans everything and returns the "Up" addresses only and then scans all ...
2
votes
1answer
837 views
Testing if a port was forwarded correctly in Ubuntu
I have a Ubuntu box connected to a wifi router. This wifi router is connected to a d-link adsl modem/router. I am preparing this Ubuntu box to run a server that will use some special ports in UDP and ...
25
votes
2answers
2k views
How does SSH connection survive a network restart?
From a Linux SSH shell, type /etc/init.d/network restart to restart the network service.
I expect my SSH connection to die since the network service goes down. But it doesn't. Very cool. But how does ...
2
votes
1answer
272 views
ICMP destination unreachable
I am working on an Arch Linux machine with an ethernet interface eth1. I have created the interface eth1:0 using ifconfig and given it a dummy hardware address (00:01:02:03:04:05). When I send a UDP ...
