10-16-2001
Routing Network Traffic With Mandrake
I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf" to our school's router. My Eth0 is configured for the school's network (DHCP) and I can surf the internet with no problem.
Workstations on the internal network can ping both cards on my Mandrake machine, but CAN NOT go past ETH0!! I have downloaded several tutorials on ipchains and ip masquerading but none seem to be helping.
Please help!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I added a route entry with the route command. When I restart the network, this entry is gone. Therefore I wanted to edit the routing table by hand, but I didn't found a file to edit. Where is it?
I'm using Mandrake 8.1.
Thanks in advance. (2 Replies)
Discussion started by: sTorm
2 Replies
2. Cybersecurity
Hi,
Can someone give me the clue on how to capture network traffic at gateway.
Thanx (2 Replies)
Discussion started by: kayode
2 Replies
3. Infrastructure Monitoring
Hi all,
Got a strange one here, well not so much strange, different :-)
I need to work out if a server is particulary chatty, whether its talking / communicating heavily to a particular server, as Im planning to physically move the server to a different server, over a link. Hence the... (6 Replies)
Discussion started by: sbk1972
6 Replies
4. HP-UX
I Colleagues,
Somebody can say me how to monitoring traffic in the network. also I am interested in monitoring memory. if somebody to know a guide with command advanced in unix welcome for me.
Thank you for adcanced. (0 Replies)
Discussion started by: systemoper
0 Replies
5. IP Networking
Hi,
I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies
6. Solaris
Solaris-9 server is having one primary IP 10.41.161.14 on qfe0 and 10.41.116.0 on qfe3:1. Traffic is going through virtual interface instead of physical interface. How should I force traffic to go with primary interface.
root@smtsrvn01:/# netstat -nr
Routing Table: IPv4
Destination ... (2 Replies)
Discussion started by: solaris_1977
2 Replies
7. Infrastructure Monitoring
If I would like to know what connection , data , traffic in a network port ( eth0 ) , what can I do ?
ps. because I always found the network is very slow , so I would like what the network port is doing .
Thanks
Login ID ust3 is currently in read-only mode for multiple infractions. Creating... (0 Replies)
Discussion started by: ust03
0 Replies
8. UNIX for Advanced & Expert Users
Hi All
I am resilience testing an application that is spread across multiple servers.
One thing I will need to do soon is throttle the network traffic for specific interfaces within the test cluster. Specifically, maybe make a connection take twice or three times as long to respond....
I... (3 Replies)
Discussion started by: bbq
3 Replies
9. Proxy Server
Hi guys
I need to setup server/router in my firm. We got from our ISP dedicated server in their data center. It has a static IP and it servers as replacement for out DSL connection. I configured our internal server to be border gateway and to connects to data center. "Remote" admin installed... (0 Replies)
Discussion started by: solaris_user
0 Replies
10. IP Networking
My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
LEARN ABOUT OPENSOLARIS
net_routeto
net_routeto(9F) Kernel Functions for Drivers net_routeto(9F)
NAME
net_routeto - indicate which network interface packets are sent
SYNOPSIS
#include <sys/neti.h>
phy_if_t net_routeto(const net_data_t *net, struct sockaddr *address,
struct sockaddr *nexthop);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
net value returned from a successful call to net_protocol_lookup(9F).
address network address to find a path out of the machine for.
nexthop pointer to the sockaddr structure in which to store the address of the next hop. If this information is not required, the value
NULL may be passed instead.
DESCRIPTION
The net_routeto() function indicates which network interface packets destined for a particular address would be sent out of, according to
the systems network routing tables. If next is supplied as a non-NULL pointer, the IP address of the nexthop router to be used is returned
in it.
RETURN VALUES
The net_routeto() function returns:
-1 The network protocol does not support this function.
0 This function cannot find a route for the address given.
>0 Indicates which network interface can be used to reach the given address.
CONTEXT
The net_routeto() function may be called from user, kernel, or interrupt context.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
net_phygetnext(9F), net_phylookup(9F), net_protocol_lookup(9F), attributes(5)
SunOS 5.11 1 May 2008 net_routeto(9F)