07-04-2007
Server1 - ce0 - 192.168.0.1/255.255.255.0 --> Solaris 9
Routing Table:
netstat -nr
10.27.40.2 192.168.0.5 UGH 1 20
default 192.168.0.254 UG 19171880
127.0.0.1 127.0.0.1 UH 82129125 lo0
Server2
Server2 --> 10.27.40.2/255.255.255.0 --> Solaris 10
Routing table:
192.168.0.0 10.27.40.5 UG 1 77518
default 10.27.40.2 UG 1 352170
127.0.0.1 127.0.0.1 UH 264213562 lo0
Server3
ce0 --> 192.168.0.5/255.255.255.0 --> Solaris 10 --> Gateway
ce1 --> 10.27.40.5/255.255.255.0
10.27.40.0 10.27.40.5 U 1 65134 ce1
default 192.168.0.254 UG 1 84121 ce0
127.0.0.1 127.0.0.1 UH 10351386451 lo0
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please advise,
The previous thread asked about the automated transfer of files between two servers. The question is - is there any way of encrypting the password within the script or is it a matter of setting the permissions settings on the script so that it can only be executed and possibly... (1 Reply)
Discussion started by: rdbooth
1 Replies
2. UNIX for Dummies Questions & Answers
Please help me out
i want to know how to send email from unix machine to any email-id.
mail to be sent is web based mail. (1 Reply)
Discussion started by: parmeet
1 Replies
3. UNIX for Advanced & Expert Users
hi everyone
i want to establish smtp connection between unix server and windows 2k3 mail server they are on one intranet.
and unix server has ftp and telnet connection with the mail server.
. (0 Replies)
Discussion started by: parmeet
0 Replies
4. UNIX for Dummies Questions & Answers
Hi There
We currently experiencing a problem on our Unix server Sco 5.07 , whereby
the tcp services stops on it own and even if we restart the services manually the services still does not come up,We loose the printer and pc connections to the server we then need to restart the Unix server in... (1 Reply)
Discussion started by: esh
1 Replies
5. Programming
hello everyone. I tried searching for something related to this, but I figured it was time to ask my own question. I am experiencing these problems using Ubuntu 7.04
I am starting up a TCP listener/server and once connected, will act as a communication/control link with a program on another... (3 Replies)
Discussion started by: pjwhite
3 Replies
6. Shell Programming and Scripting
Hi all,
I have a script written successfully and tuned by our members, now I am trying to execute this script from a taxi server.
My aim is I want to connect to four servers via ssh where I want to ran a script or run some commands and write the output to a file in the Taxi server.
I... (12 Replies)
Discussion started by: senthilkumar_ak
12 Replies
7. Solaris
Hi
Can anyone suggest me some documents for EMC clarion documents which I am going to use in the servers with solaris environments. (1 Reply)
Discussion started by: ningy
1 Replies
8. Shell Programming and Scripting
Hi ,
I have three linux servers. I want to login from one server and check some status in the other server.
How to connect other server from one server using shell script.
Can anyone advice on this?
Thanks,
Chelladurai. (4 Replies)
Discussion started by: ckchelladurai
4 Replies
9. SCO
Hi all,
I have a customer whose sco unix server wasnt power off correctly and when booting it up I noticed that the boot up takes a while to finish the " Starting TCP services: snmpd routed lpd". after that the server is ready for login, but you cannot ping anything from the server (apart from... (2 Replies)
Discussion started by: CharlL
2 Replies
10. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 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