setting up sun box as a router

I have installed a quad ethernet card on an Ultra 2. The on-board NIC (hme0) is using dhcp to get IP from router, and I would like to connect it directly to the cable modem and use the quad card as my router. Can anyone help? WHen I connect the hme0 interface directly to cable modem, I can't get on the internet, and get no signal to other machines from quad card. I am kinda new to Solaris, and it took me a while to get dhcp running properly on this box, and getting the hostname set up properly. Any help would be greatly appreciated.

[560 byte] By [] at [2007-11-25 22:42:02]
# 1
not sure what you want to do. need more details...
at 2007-7-5 14:20:09 > top of Java-index,General,Network Configurations...
# 2

I think what he's trying to do is the same thing i'm trying to do.

I'd like to use one interface on the Quad card as my primary and configure the other three to use IP Forwarding (in the windows world). Another words - avoid having a hub.

Is this possible?

at 2007-7-5 14:20:09 > top of Java-index,General,Network Configurations...
# 3

Enable forwarding;

routeadm -e ipv4-forwarding -u

To enable NAT, edit /etc/ipf/ipnat.conf (example for internal network of 10.1.1.0);

map hme0 10.1.1.0/24 -> 0/32

Edit pfil.ap;

Uncomment hme and qfe lines.

Reboot.

at 2007-7-5 14:20:09 > top of Java-index,General,Network Configurations...
# 4
I never heard of this command "routeadm". Can you clearify?
at 2007-7-5 14:20:09 > top of Java-index,General,Network Configurations...
# 5

routeadm is a available in Solaris 10.

DESCRIPTION

The routeadm command is used to administer system-wide con-

figuration for IP forwarding and routing. IP forwarding is

the passing of IP packets from one network to another; IP

routing is the use of a routing protocol to determine

routes.

cheers

rambler

rambler at 2007-7-5 14:20:09 > top of Java-index,General,Network Configurations...