Sponsored Content
Operating Systems Linux Ubuntu Please help me in configuring network in Ubuntu Post 302253076 by daya.pandit on Friday 31st of October 2008 01:45:28 AM
Old 10-31-2008
open /etc/network/interfaces

And type these in the end of file, If you have one ethernet in your machine

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

In this case, you will need to specify your DNS servers manually in /etc/resolv.conf, which should look something like this:

search mydomain.example
nameserver 192.168.0.1
nameserver 4.2.2.2

Then start your network service /etc/init.d/netowrk start


OR

Go through the system==> Administration==>Network
and set the manual configuration
 

10 More Discussions You Might Find Interesting

1. IP Networking

configuring the new desktop in the network.

I have a new desktop in my company and I want to configure that box in our network.we using unix sytem.I don,t have enough knowledge about the unix,so please can you suggest me how to configure the desktop.This is urgent if you can help me quickly. (1 Reply)
Discussion started by: bbutani
1 Replies

2. UNIX for Dummies Questions & Answers

configuring network infomation

Hello all, I am trying to hit the internet from my unix box (sun 250e), but cannot reach any external IP addresses. I've updated the hosts and resolv.conf files with what i assume is the right information, but nothing happens (after reboot). In the hosts file, i've entered the Router, PDC,... (4 Replies)
Discussion started by: colesy
4 Replies

3. AIX

Configuring Network Printer in IBM AIX

Hi, We have two IBM pSeires servers running IBM AIX. I want to configure the IBM servers to print on the network printer. Here is the following configuration IBM Server-I IP Add: 192.168.0.5 IBM Server-II IP Add: 192.168.0.6 Network Printer IP Add: 192.168.0.15 I'm new to IBM AIX OS.... (0 Replies)
Discussion started by: berhanemt
0 Replies

4. Solaris

configuring network

Hello, I was trying to assign IP or Hostname to the system, but when I open any of the files: /etc/hosts /etc/inet/ipnodes the files open in read-only mode. Thus, I can't edit it. I am doing this under root. What is the problem and how to get rid? Any suggestion? (8 Replies)
Discussion started by: naw_deepak
8 Replies

5. Ubuntu

network connection on ubuntu

Hi, I am using ubuntu 8.x. I am not not able connect to internet through broadband. i'm also using windows xp, there i don't have any problems. Please tell me how access the internet on ubuntu 8.x through broadband. Thanks, Achhayya:) (4 Replies)
Discussion started by: achhayya
4 Replies

6. Ubuntu

Configuring Ubuntu 9.04 as a TFTP Server

Configuring Ubuntu 9.04 as a TFTP Server Im trying to configure my Ubuntu desktop as a tftp server. I found the following instructions on how to do this. Most of the instructions I understand however Im not sure about step 2. The instructions are below: In step 2 do I create a txt file in vi... (2 Replies)
Discussion started by: andyblaylock
2 Replies

7. UNIX for Dummies Questions & Answers

Configuring a Network Card in SLED 11

I want to connect to the internet via Wi-Fi, but I need to configure my pci adapter card for it to work. The adapter I am using is a Linksys Wireless-G pci adapter wmp54gs.:confused: (5 Replies)
Discussion started by: ryan352333
5 Replies

8. Solaris

Configuring network interfaces in Solaris11

Hi all, Just istalled Solaris 11. Want to configure network interfaces and got some problems: #dladm show-phys # #dladm show-link # If i run ifconfig -a, i am getting 2 lo0 (loopback) interfaces and thats all. I can't enable interface, can't list it, can't assign IP to it. Can... (2 Replies)
Discussion started by: nypreH
2 Replies

9. SuSE

Facing issue configuring network

Please let me know how to configure network in suse Linux, I have configured the network using ifup and network manager, it is not giving any error but not working, using suse Linux 11.0 sp3 I have checked network connectivity is working. (0 Replies)
Discussion started by: manoj.solaris
0 Replies

10. Solaris

Configuring central logging server for network devices

Hi I am very well aware of configuring central logging (syslog)server on solaris to capture logs of other solaris servers. But don't know how to capture the logs of network devices like Juniper , cisco etc on solaris server. Is this possible through syslog server of solaris. Is there any way we... (1 Reply)
Discussion started by: amity
1 Replies
GRE(4)							   BSD Kernel Interfaces Manual 						    GRE(4)

NAME
gre -- encapsulating network device SYNOPSIS
To compile the driver into the kernel, place the following line in the kernel configuration file: device gre Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_gre_load="YES" DESCRIPTION
The gre network interface pseudo device encapsulates datagrams into IP. These encapsulated datagrams are routed to a destination host, where they are decapsulated and further routed to their final destination. The ``tunnel'' appears to the inner datagrams as one hop. gre interfaces are dynamically created and destroyed with the ifconfig(8) create and destroy subcommands. This driver corresponds to RFC 2784. Encapsulated datagrams are prepended an outer datagram and a GRE header. The GRE header specifies the type of the encapsulated datagram and thus allows for tunneling other protocols than IP. GRE mode is also the default tunnel mode on Cisco routers. gre also supports Cisco WCCP protocol, both version 1 and version 2. The gre interfaces support a number of additional parameters to the ifconfig(8): grekey Set the GRE key used for outgoing packets. A value of 0 disables the key option. enable_csum Enables checksum calculation for outgoing packets. enable_seq Enables use of sequence number field in the GRE header for outgoing packets. EXAMPLES
192.168.1.* --- Router A -------tunnel-------- Router B --- 192.168.2.* / / +------ the Internet ------+ Assuming router A has the (external) IP address A and the internal address 192.168.1.1, while router B has external address B and internal address 192.168.2.1, the following commands will configure the tunnel: On router A: ifconfig greN create ifconfig greN inet 192.168.1.1 192.168.2.1 ifconfig greN inet tunnel A B route add -net 192.168.2 -netmask 255.255.255.0 192.168.2.1 On router B: ifconfig greN create ifconfig greN inet 192.168.2.1 192.168.1.1 ifconfig greN inet tunnel B A route add -net 192.168.1 -netmask 255.255.255.0 192.168.1.1 NOTES
The MTU of gre interfaces is set to 1476 by default, to match the value used by Cisco routers. This may not be an optimal value, depending on the link between the two tunnel endpoints. It can be adjusted via ifconfig(8). For correct operation, the gre device needs a route to the decapsulating host that does not run over the tunnel, as this would be a loop. The kernel must be set to forward datagrams by setting the net.inet.ip.forwarding sysctl(8) variable to non-zero. SEE ALSO
gif(4), inet(4), ip(4), me(4), netintro(4), protocols(5), ifconfig(8), sysctl(8) A description of GRE encapsulation can be found in RFC 2784 and RFC 2890. AUTHORS
Andrey V. Elsukov <ae@FreeBSD.org> Heiko W.Rupp <hwr@pilhuhn.de> BUGS
The current implementation uses the key only for outgoing packets. Incoming packets with a different key or without a key will be treated as if they would belong to this interface. The sequence number field also used only for outgoing packets. BSD
November 7, 2014 BSD
All times are GMT -4. The time now is 02:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy