Carlos Laviola wrote: >Hello people, > >Here's the thing: I have a small network at work (4 computers, each one >using a 10.0.0.x address). The Debian server is 10.0.0.1. There's a >notebook at 10.0.0.4. > >However, the guy with the notebook already has a small network at home, >which he wouldn't like to change to suit the IP addresses of work. He also >doesn't like to always change the IP to 10.0.0.4 and wait for windows to >boot one more time before he can start actually working, so he'd like me >to, somehow, make his home network' IP address be recognized as local at >the debian box. Is there a easy way to do that? My idea was to just alias >his IP to the one he is supposed to use (10.0.0.4), so that the server >thinks that traffic is coming from that IP regardless of what IP is set on >his windoze box (even though it would be fixed). If you understand my >question and know the answer, please help. :-) If the notebook is using a PCMCIA card to connect to the local network, package pcmcia-cs contains a program, cardctl, which you can use to tell the notebook which system you are attached to.
For example: `cardctl scheme eca' when I'm visiting that company or `cardctl scheme lfix' when I come home. The command sets up the IP address and other parameters as appropriate and can be configured very flexibly. I use it to change /etc/hosts and /etc/fstab, to mount external drives through Samba, configure printing and so on. -- Oliver Elphick [EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Search me, O God, and know my heart; try me, and know my thoughts. And see if there be any wicked way in me, and lead me in the way everlasting." Psalms 139:23,24