the IP protocol and IP addresses

learn more… | top users | synonyms

2
votes
1answer
55 views

switch network on and off of a virtual remote server

I need to perform a testing panel which disconnects a network cable and connect it again on a specific virtual server via a php web page. I found that ip & ifconfig can disconnect a network, but ...
9
votes
3answers
1k views

Parsing log files for frequent IP's

So, I hacked this together while undergoing a DDOS attack to pull naughty ips out of my logs. Anyone have any improvements or other suggestions to make it better? Here's the general idea: pull ...
1
vote
2answers
181 views

Assigning IP to a bridged interfaces

Is there a way to assign an IP to bridged interfaces? For example, under normal circumstances: ifconfig eth0 0.0.0.0 ifconfig eth1 0.0.0.0 brctl addbr mybridge brctl addif mybridge eth0 brctl addif ...
2
votes
1answer
10k views

How to add Two Gateway on same machine

I have one test server that has Two Interfaces. To one interface i have assigned ip 172.16.122.1 and GW 172.16.xxx.xxx Now i connected cable to second interface and gave it ip 10.2.2.98. Now they ...
2
votes
3answers
168 views

Detect which interface traffic to an IP address goes through

I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
1
vote
2answers
1k 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
79 views

Can DNS identify hostnames dynamically if they're statically configured?

I've got a small environment of ~40 VMs with static IPs on 12 servers, it would be dandy if I could refer to each VM by name. We have a lot of VMs come and go, so maintaining one static list is a ...
0
votes
1answer
223 views

Restoring default ip rule

I accidentally issued ip rule flush, now the default ip rule are all gone, which is, 32766: from all lookup main 32767: from all lookup default Anyone know how to add them back?
7
votes
4answers
11k 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 ...
2
votes
2answers
102 views

How do Apache2 VirtualHosts get resolved?

As I understand it, when you request a url from a website using your browser, it asks the DNS server that the OS is pointing at if it knows the ip address that relates to the dns-name of the server; ...
0
votes
4answers
112 views

how to know IPs available on a server?

I think there used to be a command to do that but I forget. Something like ipconfig in windows. My server has 10 available IPs and I want to know them all.
1
vote
1answer
474 views

No DNS on Debian wifi after unplugging the DNS cable

I have installed wheezy Release Candidate 1 to my old laptop (Benq Joybook A52) right now, and I have some problem with my wireless card (Atheros 5006). It can actually see the wireless networks, I ...
3
votes
1answer
266 views

Alternative to mrouted for DVMRP on Debian Squeeze

I need to implement DVMRP protocol to route multicast over Openvpn (tun) connection for some old 3Com NBX phones. I use Debian squeeze so mrouted is not available (obsolete). What can I use ...
1
vote
1answer
1k views

With two interfaces, how can I make one the default route and the other an alternate?

I have wired connection to intranet / lan of my work (with proxy) and one wireless without proxy that doesn't have access to the office lan. (Like Guest Wifi) My idea is to route all traffic to eth0 ...
3
votes
1answer
374 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
110 views

Help understanding interfaces in Backtrack

I am fairly new in UNIX and have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces. I am ...
0
votes
1answer
229 views

Unable to get embedded device to ping anything on the network

I have an embedded device, built using buildroot, kernel version 3.6.11 running busybox. The kernel is built with completely default options. I have configured the device according to what the network ...
0
votes
2answers
774 views

Is /etc/resolv.conf needed when using a static IP address?

I am trying to configure the IP address of my embedded device. The device should have a static IP address and I attempt to set this using the /etc/network/interfaces file with iface eth0 inet static ...
0
votes
2answers
589 views

Heartbeat with virtual IP at Ubuntu 12.04

I have installed heartbeat package at both linux devices so that when ever clients request a service they will be arrived to this IP, and client will not know what are the back-end/actual ip addresses ...
7
votes
3answers
11k 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 ...
2
votes
2answers
986 views

Use a specific interface for a specific destination subnet (source IP setting)

I am looking for some sort of routing trickery to set a specific source IP: Local machine has two IPs; Eth1: 192.168.0.1 Eth1:2 192.168.0.2 Default gateway is 192.168.0.254 via Eth1 Remote subnet ...
3
votes
1answer
486 views

set VM IP address to be the same every time from DHCP on CentOS 5.6

I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
2
votes
1answer
1k views

What to use for firewall testing (port opened or not)

so... we know that we can test that if a port is open on the firewall with: telnet SERVERIP PORT ..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know ...
4
votes
4answers
11k views

How do I know what service is running on a particular port in linux?

I am trying to run weblogic server on my linux machine and I am getting the following error : ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to ...
2
votes
1answer
313 views

Running a local port scan and found open ports but, don't know what they're used for?

I wrote a very basic python script to port scan my system. I'm running linux-mint lisa: open_ports = [] for port in xrange(65536): conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
2
votes
1answer
10k views

Unable to ping gateway & other Linux boxes on same network

I'm somewhat new to Linux, but I'm trying to network a few Linux machines. I can't seem to be able ping the gateway or the other Linux machines. My scenario: I have a few Linux boxes set up on a ...
6
votes
3answers
3k views

Can't access select https sites on Linux over PPPoE

My internet connection used to be a direct LAN connection to my provider. Back then, everything would load fine on both Windows and Ubuntu (dual boot). However, a while ago they started needing me to ...
4
votes
2answers
788 views

Discover MTU between me and destination IP

In a case I can use only UDP and ICMP protocols, how can I discover, in bytes, the path MTU for packet transfer from my computer to a destination IP?
0
votes
2answers
2k views

“system-config-network-tui &” doesn't work

When I try to edit or assign the IP using this command: system-config-network-tui & Terminal opens a console which is uncontrollable, just like this: This happens on CentOS and Red Hat.
6
votes
3answers
27k views

How can I know if IP Multicast is enabled

I have scripts that run IP multicast tests; however, my scripts are failing on a particular linux machine. I know that I can look at CONFIG_IP_MULTICAST in the kernel configuration file to determine ...
9
votes
1answer
3k views

Linux always send ICMP redirect

I have several Debian Squeeze (6.0.6 up to date) used as routers. When a link is down, they send ICMP redirects to local hosts. This is the default behaviour of Debian and several others. So once the ...
1
vote
2answers
140 views

What's the mechanism that a process listening to localhost refuses to process a request to its LAN IP address?

The private IP address of my machine is 192.168.44.182. If I started a process using nc -l localhost 20000 Then this process won't handle requests sent to 192.168.44.182. Since the process ...
2
votes
1answer
423 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 ...
4
votes
2answers
2k 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 ...
2
votes
1answer
2k views

ubuntu server 12.04 lts is there a way to enable sleep mode and wake on lan?

I was wondering if it were posible to make my server go to sleep after a set period of time, but still be listening for lan requests. I use my server as a media server that might get used 3 or 4 hours ...
3
votes
1answer
2k views

What is the GNU/Linux equivalent of BSD's “route get …”?

The BSD route command has a feature that will show what route will be selected for a given host. For example: /Users/mhaase $ route get google.com route to: iad23s07-in-f8.1e100.net destination: ...
4
votes
1answer
2k views

multigateway routing for specific src port

I have two gateway to access internet, somehow I want to load balancing it, so far its working, but some connection or service need persistent gateway IP to be used, so the client should never change ...
2
votes
1answer
2k 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 ...
1
vote
2answers
6k 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) ...
3
votes
2answers
316 views

How to force a connection to a certain host to use to a specific source IP?

When using the Shoutcast2 yellowpages there is a really annoying issue that it always uses the default IP the system uses for an outgoing conection to register itself even if the server is configured ...
1
vote
1answer
348 views

Changing host file in Ubuntu

I tried to change /etc/hosts to change a local DNS entry, so I can map any website name to any IP, but it isn't working. How can I debug it?
1
vote
1answer
1k 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 ...
1
vote
1answer
5k 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), ...
6
votes
1answer
555 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 ...
3
votes
4answers
6k 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
2answers
9k 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 ...
3
votes
1answer
318 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, ...
19
votes
1answer
4k 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 ...
1
vote
3answers
574 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
172 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?