Hello James,
First make sure your kernel is compiled with IP-Aliasing. Second, set up more then one IP address on the same network interface: #ifconfig ip1 netmask netmask1 eth0:1 up #ifconfig ip2 netmask netmask2 eth0:2 up ... #ifconfig ipn netmask netmaskn eth0:n up Third, add new entries to the routing table: #route add -net netadd1 -i eth0:1 #route add -net netadd2 -i eth0:2 ... #route add -net netaddn -i eth0:n I think it should work, you can then change the script to initialize the previous during boot time. Good Luck... >From: James Pifer <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: PLEASE HELP! Works on Windows NT Server, but apparently not on >Redhat 7.2! >Date: Wed, 09 Jan 2002 09:36:07 -0600 > >I'm trying to replace an NT server with Redhat 7.2. The problem is that the >current environment has to be multi-netted on one NIC, hence two gateways. >Another source told me this couldn't be done on linux. > >Currently the NT server has several IP addresses(from two subnets) with TWO >default gateways. On NT 4 this is setup in TCPIP Advanced Properties. >There's a section for additional IP's and and another for additional >gateways. Assign them and it works. > >For example: (this first address is the main address, the rest are virtual) >192.168.1.10 mask 255.255.255.0 gateway 192.168.1.1 >192.168.1.11 mask 255.255.255.0 gateway 192.168.1.1 >192.168.20.25 mask 255.255.255.0 gateway 192.168.1.20 >192.168.20.26 mask 255.255.255.0 gateway 192.168.1.20 > >I can add virtual IP's without a problem, but how do I deal with the >gateways? I'll be very disappointed with Redhat(linux) if I can't get this >done. Can I do it by messing with the routing table? If so, what would the >syntax of the route adds be? > >PLEASE HELP! > >Thanks. >James > > > >_______________________________________________ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list