Search Results for: eth0

How to configure Transparent Proxy With Bridging

If you are trying to setup a transparent proxy on a Linux machine that has been configured as a bridge, you will need to add one additional iptables command to what we had in section 5. Specifically, you need to explicitly allow connections to the machine on port 3128 (or any other port squid is(…)

How to Display existing IPv6 addresses – Linux

First you should check, whether and which IPv6 addresses are already configured (perhaps auto-magically during stateless auto-configuration). Using “ip” Usage:   # /sbin/ip -6 addr show dev <interface>   Example for a static configured host:   # /sbin/ip -6 addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc pfifo_ fast qlen 100 inet6 fe80::210:a4ff:fee3:9566/10(…)

How to check the services which are started at bootup – Linux

On Red Hat systems you can list all services which are started at bootup using the following command: chkconfig –list |grep on You will notice that there are quite a lot of services enabled on your system. But many runlevel services (Stand-Alone Services) are not network related services like kudzu which is responsible for detecting(…)

How to Configure a DHCP Client in Red Hat Linux

The first step for configuring a DHCP client is to make sure the kernel recognizes the network interface card. Most cards are recognized during the installation process, and the system is configured to use the correct kernel module for the card. If you install a card after installation,Kudzu should recognize it and prompt you to configure(…)

How to configure Openswan – Openswan to Openswan connections (using RSASIG or PSK)

The network-to-network setup allows you to connect two office networks into one Virtual Private Network, while the Road Warrior connection secures a laptop’s telecommute to work. Our examples also show the basic procedure on the Linux Openswan side where another IPsec peer is in play.Shortcut to net-to-net.Shortcut to Road Warrior.

How to Determine Linux ethernet interface speed and duplex

Determine the autonegotiated ethernet connection speed and duplex using the mii-tool command Running the following command as superuser with no options will generate basic information about all of the ethernet interfaces on the computer: mii-tool The resulting output will look something like: eth0: negotiated 100baseTx-FD, link ok This output shows one interface (eth0) which was(…)

How to add static route in Linux

A route is is used by your kernel to determine how to get someplace on a network. Routes are stored in the linux kernel and are accessible for viewing and editing to users. Working with routes. To view your current default route # route -n The result table would look like this Kernel IP routing(…)

How to change ethernet card settings – Linux

Here’s some scenario wherein your network card seems to fail. At times, it shows you statistics of sending but not receiving packets, or it is physically connected but show you that the linkis not present at all. If you are sure that it is not driver or cable issues related, below are pointers of changing(…)

How to add multiple ethernet IP address using your single ethernet card

Do you need to setup IP aliasing or multiple ethernet IP address using your single ethernet card? Here are the steps to do that: First requirement, you will be needing a working ethernet network interface card. Say your first ethernet is eth0 and has an IP address of 192.168.1.1 . Issuing # ifconfig eth0 would(…)

How to Install VnStat – Long-Term Traffic Monitoring via CLI

Another interface monitoring tool that logs and keeps track of past traffic usage and statistics is VnStat.  VnStat is a console-based long-term traffic monitoring utility that makes use monitors traffic usage and details and stores them into flat database for future comparison and statistical purpose. VnStat does not require root access and privilege to do(…)

How to setup Transparent Proxy with Squid

One of the many tasks we could be facing from time to time in our work is setting up and building a production proxy server. Proxy implementation could be done in several ways to achieve the same goal. One best bet we could have with this kind of setup is by using Squid linux software(…)

How to Execute Script When Network Interface Goes down

Both on Linux and Windows world, we get used to a lot of things. This attitude of getting used to the world around us at times, shower us some attitude of just-accept-that and do-not-complain. Getting down to network connectivity, at times, we are just used to plug the cable and wait for it network card(…)