# VMID and IP Allocation - RPC Translator Service

**Date**: 2026-01-04  
**Status**: ✅ Allocated

## Overview

This document details the VMID and IP address allocations for the RPC Translator service and its supporting infrastructure for ChainID 138.

## RPC Translator Service

| VMID | IP Address | Hostname | Purpose | Ports |
|------|------------|----------|---------|-------|
| 2400 | 192.168.11.240 | thirdweb-rpc-1 | Translator instance 1 | 9545 (HTTP), 9546 (WS) |
| 2401 | 192.168.11.241 | thirdweb-rpc-2 | Translator instance 2 | 9545 (HTTP), 9546 (WS) |
| 2402 | 192.168.11.242 | thirdweb-rpc-3 | Translator instance 3 | 9545 (HTTP), 9546 (WS) |

## Supporting Services

| Service | VMID | IP Address | Hostname | Port | Purpose |
|---------|------|------------|----------|------|---------|
| **Redis** | 106 | 192.168.11.110 | redis-rpc-translator | 6379 | Distributed nonce management |
| **Web3Signer** | 107 | 192.168.11.111 | web3signer-rpc-translator | 9000 | Transaction signing |
| **Vault** | 108 | 192.168.11.112 | vault-rpc-translator | 8200 | Configuration management (optional) |

## Allocation Rationale

### VMID Range Selection

**Infrastructure Services Range (100-199):**
- VMIDs 106, 107, 108 fall within the Infrastructure Services range
- Consistent with other infrastructure services (100-105, 130)
- Allows for future expansion in the same range

### IP Address Allocation

**192.168.11.110-112:**
- Sequential IPs for easy management
- Located in the 100-199 range alongside other infrastructure services
- 192.168.11.112 was freed up by moving Fabric (VMID 6000) from 192.168.11.112 to 192.168.11.65

### Network Configuration

**Firewall Rules Required:**
- Translator VMIDs (2400-2402) → Redis (106): Allow TCP 6379
- Translator VMIDs (2400-2402) → Web3Signer (107): Allow TCP 9000
- Translator VMIDs (2400-2402) → Vault (108): Allow TCP 8200
- All other access should be denied by default

## Related Changes

### Fabric IP Change

**VMID 6000 (fabric-1):**
- **Old IP**: 192.168.11.112
- **New IP**: 192.168.11.65
- **Reason**: Frees up .112 for Vault VMID 108
- **Status**: To be updated on Fabric container

## Deployment Order

1. **Deploy Supporting Services:**
   - Redis (VMID 106, 192.168.11.110)
   - Web3Signer (VMID 107, 192.168.11.111)
   - Vault (VMID 108, 192.168.11.112) - optional

2. **Deploy Translator Service:**
   - Translator on VMID 2400 (192.168.11.240)
   - Translator on VMID 2401 (192.168.11.241)
   - Translator on VMID 2402 (192.168.11.242)

3. **Configure Connectivity:**
   - Update firewall rules
   - Test connectivity between services
   - Configure service discovery

## Network Diagram

```
Translator Instances (2400-2402)
    ├─→ Redis (106) - 192.168.11.110:6379
    ├─→ Web3Signer (107) - 192.168.11.111:9000
    └─→ Vault (108) - 192.168.11.112:8200
```

## References

- Main VMID/IP List: `/VMID_IP_ADDRESS_LIST.md`
- Deployment Guide: `DEPLOYMENT.md`
- Deployment Checklist: `DEPLOYMENT_CHECKLIST.md`
